routes cleaning and alphabetic ordering