tried to sort categories