As I said above, better to call this sorting type "basename" as that more accurately describes what we are doing.