a sorted map based heavily upon redis' skip list implementation