Could you rename this so it says how it actually sorts things?  maybe `_sorted_by_value_type`?