completed sorted set commands and tests.