Fixed case insensitive sorting issue with strings