Feature/issue 95 sort options

This resolves issue #95.  

I tried to make the code as small and readable as I can (without actually knowing that much about ruby or rails).  As well as not knowing redis.