Add an ability to sort metrics in exact order