I initially had this set up in a way to utilize a lookup table to retrieve the appropriate sorting method, but the `user.email` property was causing issues since it wasn't a direct property of the `objects` array. I will take another look at making this more scalable as you suggest.

One idea I had: each of the headings could be augmented with a hidden input element that specified its corresponding key in the sorter dictionary. What do you think?