Plug-in Reference — Messages — EE_SORT

# EE_SORT

Sorts the document. You can send this message explicitly or use the Editor_Sort inline function.

    EE_SORT
    wParam = 0;
    lParam = (LPARAM) (SORT_INFO*) pSortInfo;

## Parameters

pSortInfo

Pointer to the SORT_INFO structure.

## Return Value

Returns the HRESULT value. A zero or positive value means success while a negative value means failure.

## Version

Supported on EmEditor Professional Version 16.4 or later.