TradeMUX SDK Documentation  1.0
TradeMUX SDK Documentation
int ArraySort< T > ( TMXArray< T >  array,
int  count = WHOLE_ARRAY,
int  start = 0,
int  sort_dir = MODE_ASCEND 
)

Sorts array by first dimension

Template Parameters
TType of array elements
Parameters
arrayArray for sorting
countCount of elements to sort. By default, it sorts the whole array
startStarting index to sort. By default, the sort starts at the first element
sort_dirSort direction. It can be any of the following values:
MODE_ASCEND sort in ascend direction,
MODE_DESCEND sort in descend direction
Returns
true on success, otherwise - false