Cleaning and sorting the locale files