Sort results for improved testing