This caused a "range out of order in character class" error and propably affected the functionality of the sort function