| Gentee Programming Language > Documentation > Libraries | Download documentation |
Sort array items according to the sorting function. The function must have two parameters containing pointers to two compared items. It must return int less than, equal to or greater than zero if the left value is less than, equal to or greater than the first one respectively.
arr arr.sort( uint sortfunc )
sortfunc Sorting function.
Returns the object which method has been called.
See alsoCopyright © 2004-2006 Gentee Inc. All rights reserved. |