SortedMap is dict-like structure that supports ordered map operations: max, min, floor, ceiling, select, rank and ordered iteration.