Skip to main content
Version: Next

key_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).