LPS-46632 Adding ability to Source formatter to check for deletion system events
LPS-46632 Sort
LPS-46632 Rename method
LPS-46632 Create regex once and reuse
LPS-46632 Only check for portal files as this will break for plugins
LPS-46632 Source formatting
LPS-46632 Fix incorrect if statement