Edit: Sort Lines by Length
edit.sortLinesByLength Sort the selected lines (or the whole file) by line length, shortest first.
How to run it
Open the command palette (M-x in the Emacs keymap) and search for Edit: Sort Lines by Length, then press Enter. It has no default keybinding, but you can bind one in Settings → Keymaps.