Navigation:  MCL Reference > List Functions >

ListsortDescVal( )

Print this Topic Previous pageReturn to chapter overviewNext page

This function is almost identical to ListSortDesc( ) except that, in this function, items (or sub-item), which is to be sorted, will be converted to numbers for sorting. Please see ListSort( ) for function details.

 

Syntax

ListSortDescVal(cValueExpr,nItemsReturned,cSeparator,nSortSubItem,cSubItemSeparator)

Or

ListSortDescVal(cValueExpr,nItemsReturned,cSeparator,nSortSubItem,cSubItemSeparator)

 

Returns

Character

 

Example

ListSortDescVal("8,4,12",1)

Returns '12,8,4'。Compare ListSortDesc("8,4,12",1), which will return  '8,4,12'. It is because to in text comparison, '12' is smaller than '8' since '1' < '8'.

 

 


Page url: http://www.racematenet.com/english/help/index.html?listsortdescval.htm