aa_macro syntax 
 aa_macro source 
 HTML source 
 HTML render 
Key

4.57 - [asort] Built-In

Mnemonic aid: asort for Alphabetic SORT

See also:  [aisort] ,  [append] ,  [clearl] ,  [cmap] ,  [dlist] ,  [e] ,  [hmap] ,  [isort] ,  [lcc] ,  [lcopy] ,  [lhsort] ,  [list] ,  [ljoin] ,  [llen] ,  [lpop] ,  [lset] ,  [lslice] ,  [lsplit] ,  [lsub] ,  [ltol]  and  [translate] 

Sorts the list in a case-sensitive manner. If rev=1 is supplied, the sort order is reversed:


[asort (rev=1,)listName]

[list names,Larry,asia,Katya,Alfred]
[dlist inter= ,names]
[asort names]
[dlist inter= ,names]
[asort rev=1,names]
[dlist inter= ,names]

Larry asia Katya Alfred
Alfred Katya Larry asia
asia Larry Katya Alfred
Larry asia Katya Alfred Alfred Katya Larry asia asia Larry Katya Alfred

Other built-ins used here:  [dlist]  and  [list] 

Keyboard Navigation
, Previous Page . Next Page t TOC i Index

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7