github.com/tg/gosortmap (go): Package sortmap allows for sorting maps by a custom comparator. For convenience, functions sorting by keys or values in ascending or descending order are provided – these can deal with limited types only, which are: bool, all built-in numerical types and string, time.Time.  Functions provided by this package panic when non-map type is passed for sorting or, in case of the key/value sorters, the underyling type is not supported.
Keywords: go|map|sorting