Sort categories in manage_results

fixes #1255