Sortkeys (sortkeys v0.1.0)

Documentation for Sortkeys.

Summary

Functions

Recursively sorts the keys of a map.

Functions

sort(map)

@spec sort(map()) :: map()

Recursively sorts the keys of a map.

Exemples

iex> Sortkeys.sort(%{b: 0, a: %{b: %{b: 0, a: 0}, a: 1}, c: 0})
%{a: %{a: 1, b: %{a: 0, b: 0}}, b: 0, c: 0}