NGS version 0.2.5 auto-generated documentation
Documentation index
The global namespace
sortk multimethod
sortk multimethod
Methods
sortk(
h:
Hash
,
lte:
Fun
=
method
)
Source:
stdlib.ngs:2477
Sort Hash by keys
Returns
Hash
Example
{'b': 2, 'c': 11, 'a': 1}.sortk() # {'a': 1, 'b': 2, 'c': 11}