The function tried to rearrange properties but that lead to problems with duplication or deleted properties. Implemented the logic that that function did inside the get_property_list both for tool scripts and non-tool scripts.
RES
REF
Ref<>
cppcoreguidelines-pro-type-member-init