Made Metrics registry to respect the order of registered metrics