fixed the sort by country