Ensure a consistent order for CSV lines.