fix sorted output.