0 if the two strings are equal.
-1 if the first string is “less than” the second string.
The arguments can be any valid expression as long as they resolve to strings.
See also:
http://docs.mongodb.org/manual/reference/operator/aggregation/strcasecmp/