[taskmgr] fixed sorting (LP1216880)