standard instrumentor keys sort fix
need to cast to string before sort for backwards compatibility