Is there anyway to create hashs of strings where the hashes can be sorted and have the same results as if the strings themselves were sorted?