Sort Shortest to Longest command

Summary

Sorts text at the current column by length in ascending order.

Description

Sorts text at the current column by length in ascending order. The Treat full-width characters as 2 characters when sorting by length check box in the Sort page of the Customize dialog box defines how full-width characters are counted.

How to Run

  • Default Menu: Sort > Sort Shortest to Longest

  • All Commands: Sort > Sort Shortest to Longest

  • Toolbar:

  • Status Bar: None

  • Default Keyboard Shortcut: None

Plug-in Command ID

EEID_SORT_LENGTH_A (3917)

Macros

[JavaScript]

editor.ExecuteCommandByID(3917);

[VBScript]

editor.ExecuteCommandByID 3917