I want to sort a list of named tuples without having to remember the index of the fieldname. My solution …