Expose helper to get sorted keys from PropertyMap
fix generics sig, can not sublcass string