Command Reference — Sort category — Sort A to Z command

# Sort A to Z command

## Summary

Sort text at the current column in ascending order.

## Description

Sort text at the current column in ascending order. If the text does not contain alphabetical characters (A-Z and a-z), the command will attempt to sort by numerical value.

## How to Run

- Default Menu: Sort > Sort A to Z

- All Commands: Sort > Sort A to Z

- Toolbar:

- Status Bar: None

- Default Keyboard Shortcut: None

## Plug-in Command ID

    EEID_SORT_TEXT_A (4477)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(4477);

### [VBScript]

    editor.ExecuteCommandByID 4477