Fixing metric sorting to arrange in a more natural
way. Applied sort to both station.html and summary.html