Enforce a stable order to the printed metrics since the Java7 -> Java8
hash containers produce a different order.
Automated cleanup.