Sort the output of shortcuts list