sort the output by name