def parse_generic(data, key):
    """
    Returns a list of (potentially disabled) choices from a dictionary.
    """
    choices = []
    for k, v in sorted(data[key].iteritems(), key=lambda item: item[1]):
            choices.append([v, k])
    return choices