Sort the list of tests before printing to screen.