LPS-39564 Fix SortedProperties.entrySet() sorting