Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>sorta-sortNew to Visual Studio Code? Get it now.
sorta-sort

sorta-sort

RedBrick Health

|
222 installs
| (0) | Free
Sorta sort your imports like a Brickhead
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Sorta Sorts Your Imports

Just how many times has your request to merge been rejected on account of your inability to sort your imports? Well no more! Sort your imports the RedBrick way with sorta sort.

Features

What does this really do? Highlight your import statements and run the sorta command... poof, your imports will be sorted in the following way:

  1. packages first, sorted by alphabetical module-name
  2. a pleasing blank line
  3. local modules second, sorted by alphabetical module-name

There may be other ways to sort your imports, but none are as cool as this. Just watch:

sorta sorting

Known Issues

Limited testing shows this extension to work. YMMV.

Release Notes

Listening to Link Wray got me through the release of this extension.

0.1.0

Sorta sorts your imports.

Enjoy!

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft