SortByKey Reorders the IxHash elements by textual comparison of the keys. SortByValue Reorders the IxHash elements by textual comparison of the values.