order categories (to prevent the need for ordering in views)