Add support for SORT command in Redis.

Resolves #238