Sorting imports

Install following extension:

Next up:

  • Restart VS code
  • Open the the settings
  • Search for: importSorter.generalConfiguration.sortOnBeforeSave and set it to true
  • Open a .ts file that has imports and save it