feat(tools): add sort metric table functionality for ua-metric-platform