Case-insensitive scheme sorting