Methods
sortk
ΒΆ
sortk(h:
Hash
, lte:
Fun
=
(a function)
)
Sort Hash by keys
Source:
stdlib.ngs:1733
Returns
Hash
Example
{'b': 2, 'c': 11, 'a': 1}.sortk() # {'a': 1, 'b': 2, 'c': 11}