# Difference between revisions of "SORT SHAPES"

From Macros Wiki

Line 1: | Line 1: | ||

{{Command|syntax=SORT_SHAPES <sort type> <sort method> | {{Command|syntax=SORT_SHAPES <sort type> <sort method> | ||

− | |description=:Sort the current list of shapes. Once sorted, the shape numbers may change, 1 will | + | |description=:Sort the current list of shapes. Once sorted, the shape numbers may change, 1 will now be the number of the first shape in the sorted list. |

|param1=<sort type>|param1_desc=must be AREA or LENGTH | |param1=<sort type>|param1_desc=must be AREA or LENGTH |

## Latest revision as of 13:51, 3 February 2015

### Command

- SORT_SHAPES <sort type> <sort method>

- Sort the current list of shapes. Once sorted, the shape numbers may change, 1 will now be the number of the first shape in the sorted list.

### Parameters

- <sort type>
- must be AREA or LENGTH
- <sort method>
- must be SMALLEST_FIRST or LARGEST_FIRST

### Example

- SORT_SHAPES AREA, SMALLEST_FIRST