title: Why there is no ordered hashmap in Redis?
body: <p><a href="http://redis.io/topics/data-types" rel="nofollow noreferrer">Redis Data types</a> includes <a href="http://redis.io/topics/data-types-intro#sorted-sets" rel="nofollow noreferrer">sorted set</a> and other necessary data-structures for key-value storage. But I wonder why it doesn't have any sorted map like Java's <code>TreeMap</code> or C++'s <code>std::map</code>. I think the underlying data-structure would be mostly similar of sorted set as both are supposed to be balanced binary search tree.</p>
  
  <p>There must be some use-cases where we have to store key-value pair in specific order according to key. But current sorted set only serves the purpose of storing key according to score.  </p>