sorted categories in definition file