@staticmethod
def access_sort(key):
    """
        Sorts (prefixmode, UID) keys based on the prefix modes given.
        """
    prefixes, user = key
    accesses = {'o': 100, 'h': 10, 'v': 1}
    num = 0
    for prefix in prefixes:
        num += accesses.get(prefix, 0)
    return num
