Ordered categories in the navbar by the sorting attribute.