antirez/redis — pull request #799 by charsyam (2012-11-29 07:39:54+00:00)
Title: fix LC_COLLATE issue #176

sortCompare has a bug in sort.c

if server.sort_alpha is true, sort_alpha has nothing to do with sort_bypattern.

so it has to compare with strcoll instead of compareStringObject.

and add locale config parameter to set locale easily.