A sorted set implementation.