(`${k}/${v}`);
            }
        }

        return annotations.join(' ');
    }

    function sortKeys(keys) {
        // Ensure these keys appear in this order. Other keys can be mixed in and will appear at the end in alphabetical order.
        const orderedKeys = ["namespace", "node", "pod", "uid", "server", "container", "shutdown", "row"];

        // Create a map to store the indices of keys in the orderedKeys array.
        // This will allow us to efficiently check if a key is in orderedKeys and 