Sort results.