sorting is done for localities
sorting is done for localities, bank options and authority lists