ZREMRANGEBYSCORE key min max
Time complexity: O(log(N)+M) with N being the number of elements in the sorted set and M the number of elements removed by the operation.
Removes all elements in the sorted set stored at with a score between and (inclusive).
Integer reply: the number of elements removed.
*Examples
redis> ZADD myzset 1 "one"
redis> ZADD myzset 3 "three"
redis> ZREMRANGEBYSCORE myzset -inf (2