Revert "LPS-46267 Remove exception that is never thrown"

This reverts commit f69a9c2e05b6cde17b5725dc74d1076b38c525a6.
Revert "LPS-46267 Manually sort because SF is not picking it up"

This reverts commit 938bd7ee1dae4d21812cd1dfe2712b44c0fc1831.
Revert "LPS-46267 Add SettingsFactory initialization code to test support library"

This reverts commit 5e3e2fbc7e5db58f9f70d22bc964e9f03f61d227.
Revert "Recheck in LPS-46267"

This reverts commit 1ddf3f77ad994630adc75ba3a109bd783105c1a3.
LPS-47091 Fix for plugins