getting the folowing when trying to sort in redis 3.0.0
expected output:
a community a to i add ensuring birthday
CensOS 6.5
Comment From: salemtalha
This was fixed in a later version. Just tested on redis_version:3.1.999 and it does the right thing.
Comment From: sberserker
Just tried to install 3.1.999 from source branch on fresh CentOS 6.5 box. Still same behavior. Do you set collation (LC_COLLATE env variable)?
Comment From: charsyam
@sberserker I also tested it. It works well. :)
Comment From: sunheehnus
This input will trigger strcoll.
man strcoll will tell. :-)
Comment From: yoav-steinberg
ALPHA sort is based on the collation env variable. Make sure to set LC_COLLATE to something that makes sense. For example LC_COLLATE=en_US.