Standard librarykey_sort_2Version: v15.0.0On this pagekey_sort/2 Description key_sort/2 is a predicate that sorts a list of Key-Value pairs by Key. Signature keysort(+List, ?Sorted) Where: List is the input list of Key-Value pairs. Sorted is the sorted list (duplicates are not removed).