Sorting issues with capital letters in license