Well, you would have to say "look at the sort listing functions" (two because we would need one for the mapping and one for ```extended_index_attrs()```).

I'm fine with putting all of the _sorts together, but I don't like the idea of the functions.  I think a comment would do a better job explaining what is going on while not adding an additional layer of unnecessary complexity.