support for ordering categories