test-tool: Rearrange output into alphabetical order.