Magento 2 Module load Last order position

Sometimes you want to load a Module at the end of the sort order. In Magento 1 this could be done by changing the Vendor and/or Module name for the alphabetical order.

In Magento 2 you have to do a little more to load you module at the end of the sort order. Create a simple plugin on Magento\Framework\Module\ModuleList\Loader to change the sort order.

Example Module can be found in Mage2Gen
https://mage2gen.com/load/f3b3a7ce-bf5c-4a09-93a4-d3a1fbdfc717

Example of how you can create this simple Plugin with just 2 files.

Create or Update the global di.xml with the following Plugin:

Create the Plugin Class