sort taskDefs