Compares for sort order.
Supported Platforms: AutoCAD for Windows only; not available in AutoCAD LT for Windows, or on Mac OS and Web
(acet-str-collate left right [matchCase])
Type: String
The first string to compare.
Type: String
The second string to compare.
Type: T or nil
If provided and non-nil, indicates that case sensitive comparison should be used. Normally case is ignored.
Type: Integer
Returns -1, 0 or 1 to indicate relative sorting order (left < right, left == right and left > right, respectively). Displays a usage message if either of the first two arguments are not strings.
This function uses multibyte comparison appropriate for the current codepage.