LPS-47533 sort value of typesettings column of table Group_
LPS-47533 apply same fix pattern to other place
Revert "LPS-47533 apply same fix pattern to other place"

This reverts commit fc843b6e1ae4f54afbc27b59b9952d19ac3369ea.
Revert "LPS-47533 sort value of typesettings column of table Group_"

This reverts commit abffa9938bc3b57a098c0914083e8a38933e25d6.
LPS-47533 Make toString always return a sorted set
LPS-47533 Deprecate the old toSortedString method
LPS-47533 Remove usage of old method