Gentee Programming Language > Documentation > Libraries Download documentation

fastsort

The function sorting strings and numbers.
 
fastsort(
      uint   data,
      uint   count,
      uint   size,
      uint   mode
)

Parameters

dataThe pointer to the data to be sorted.
countThe number of items.
sizeThe size of one item.
modeThe type of sorting.
$FSORT_STRsorting strings
$FSORT_STRIGNOREsorting strings case-insensitively
$FSORT_UINTsorting numbers of the uint type.

The items being sorted can be of any type, but the first field in this type must be the str or uint type depending on the type of sorting.

See also

    Other functions


 Copyright © 2004-2006 Gentee Inc. All rights reserved.