====== SORTEDCOL property ====== ==== Applies To ==== Edit table. ==== Description ==== Allows you to sort the contents of an edit table by a specified column. ==== Usage ==== //column// = **Get_Property**(//edittablename//, **"SORTEDCOL"**) //oldcolnumber// = **Set_Property**(//edittablename//, **"SORTEDCOL"**, //column//[:@FM://sortvalue//]) ==== Remarks ==== Depending on the following values, the edit table could be sorted in alphabetic (left justified) or numeric (right justified) order. When sorting alphabetically, you can also enforce the ability of the edit table to continue to maintain sorted order as new rows are inserted. //sortvalue// can be one of the following: ^Value^Description^ |0|Descending, alphabetic, one-time sort.| |1|Ascending, alphabetic, one-time sort.| |2|Descending, numeric, one-time sort.| |3|Ascending, numeric, one-time sort.| |4|Descending, alphabetic, maintain sorting.| |5|Ascending, alphabetic, maintain sorting.| For [[set_property|Set_Property()]], pass column = 0 to stop maintaining the sort (applicable after //sortvalue// 4 or 5 is used). ==== See Also ==== [[v119|V119 (Sort) subroutine]]