Sort output.