Similar to sort/2, but ordering a list of Key-Value pairs, i.e., '-'(Key, Value), based on the keys.