Skip to content

KeySort

Sorts an association by its keys.

$ wo 'KeySort[<|a -> 1, b -> 2|>]'
<|a -> 1, b -> 2|>