Add support for SORT command in redis.

Resolves #238