You can try to install this package https://www.npmjs.com/package/eslint-plugin-simple-import-sort and integrate it with your current codebase.
This has the eslint --fix feature, which can fix the order in your codebase.
eslint --fix