Fix keeping category order in root
Sort category children, except for categories