Why there is no ordered hashmap in Redis?
问题 Redis Data types includes sorted set and other necessary data-structures for key-value storage. But I wonder why it doesn't have any sorted map like Java's TreeMap or C++'s std::map . I think the underlying data-structure would be mostly similar of sorted set as both are supposed to be balanced binary search tree. 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