1. Please make sure you are in development mode.
2. Open the 'js/products/defineCategories.js' file.
3. Change the order of defined modules like shown in the screenshot,
4. If you are done with the development process, please don't forget to switch back to production mode.