fix(categories): refactor implementation to order the list.