filter out duplicate categories
populate categories with sorted list