using a comparator function to sort,"sorted(subjects, operator.itemgetter(0), reverse=True)"