Fix for Issue #120 for Inverted ArrayObject Sort

This commit is contained in:
DavidWyand-GG 2012-11-07 19:45:40 -05:00
parent cd8bca48d5
commit deba1b3728
2 changed files with 40 additions and 40 deletions

View file

@ -57,7 +57,7 @@ protected:
/// @name Sorting
/// @{
static bool smIncreasing;
static bool smDecreasing;
static bool smCaseSensitive;
static const char* smCompareFunction;
@ -175,15 +175,15 @@ public:
/// This sorts the array.
/// @param valtest Determines whether sorting by value or key.
/// @param desc Determines if sorting ascending or descending.
/// @param asc Determines if sorting ascending or descending.
/// @param numeric Determines if sorting alpha or numeric search.
void sort( bool valtest, bool desc, bool numeric );
void sort( bool valtest, bool asc, bool numeric );
/// This sorts the array using a script callback.
/// @param valtest Determines whether sorting by value or key.
/// @param desc Determines if sorting ascending or descending.
/// @param asc Determines if sorting ascending or descending.
/// @param callbackFunctionName Name of the script function.
void sort( bool valtest, bool desc, const char* callbackFunctionName );
void sort( bool valtest, bool asc, const char* callbackFunctionName );
/// @}