support for sorted set operations