Added case-insensitive sorting