Platforms to show: All Mac Windows Linux Cross-Platform
Back to SortMBS module.
SortMBS.SortArrayMBS(theArray() as Boolean, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortArrayMBS(theArray() as Color, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, descending as boolean = false)
- SortArrayMBS(theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Variant, theDelegate as SortVariantDelegateVariantMBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortArrayMBS(theArray() as Color, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Date, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Color, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortArrayMBS(theArray() as Currency, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Variant, theDelegate as SortVariantDelegateVariantMBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortArrayMBS(theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Color, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Single, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Currency, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortArrayMBS(theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, descending as boolean = false)
- SortArrayMBS(theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortArrayMBS(theArray() as Color, descending as boolean = false)
- SortArrayMBS(theArray() as Date, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, descending as boolean = false)
- SortArrayMBS(theArray() as Double, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Single, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, descending as boolean = false)
- SortArrayMBS(theArray() as Variant, theDelegate as SortVariantDelegateVariantMBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Date, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortArrayMBS(theArray() as Boolean, descending as boolean = false)
- SortArrayMBS(theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Single, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as DateTime, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortArrayMBS(theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortArrayMBS(theArray() as Boolean, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, descending as boolean = false)
- SortArrayMBS(theArray() as Date, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, descending as boolean = false)
- SortArrayMBS(theArray() as Double, descending as boolean = false)
- SortArrayMBS(theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Single, descending as boolean = false)
- SortArrayMBS(theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Double, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortArrayMBS(theArray() as Boolean, descending as boolean = false)
- SortArrayMBS(theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Single, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortArrayMBS(theArray() as Boolean, descending as boolean = false)
- SortArrayMBS(theArray() as Date, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Single, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Int32, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortArrayMBS(theArray() as Boolean, descending as boolean = false)
- SortArrayMBS(theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Date, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, descending as boolean = false)
- SortArrayMBS(theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, descending as boolean = false)
- SortArrayMBS(theArray() as Variant, theDelegate as SortVariantDelegateVariantMBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortArrayMBS(theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Double, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Variant, theDelegate as SortVariantDelegateVariantMBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Int64, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortArrayMBS(theArray() as Color, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Date, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, descending as boolean = false)
- SortArrayMBS(theArray() as Single, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortArrayMBS(theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Date, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Ptr, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortArrayMBS(theArray() as Color, descending as boolean = false)
- SortArrayMBS(theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Date, descending as boolean = false)
- SortArrayMBS(theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortArrayMBS(theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, descending as boolean = false)
- SortArrayMBS(theArray() as Single, descending as boolean = false)
- SortArrayMBS(theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Variant, theDelegate as SortVariantDelegateVariantMBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Single, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortArrayMBS(theArray() as Color, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, descending as boolean = false)
- SortArrayMBS(theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Variant, theDelegate as SortVariantDelegateVariantMBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortArrayMBS(theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Date, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Variant, theDelegate as SortVariantDelegateVariantMBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as String, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortArrayMBS(theArray() as Boolean, descending as boolean = false)
- SortArrayMBS(theArray() as Color, descending as boolean = false)
- SortArrayMBS(theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Double, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Single, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortArrayMBS(theArray() as Boolean, descending as boolean = false)
- SortArrayMBS(theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Color, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, descending as boolean = false)
- SortArrayMBS(theArray() as Double, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as UInt32, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortArrayMBS(theArray() as Boolean, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, descending as boolean = false)
- SortArrayMBS(theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, descending as boolean = false)
- SortArrayMBS(theArray() as Single, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortArrayMBS(theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, descending as boolean = false)
- SortArrayMBS(theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as UInt64, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortArrayMBS(theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Color, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as UInt32, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortArrayMBS(theArray() as Boolean, descending as boolean = false)
- SortArrayMBS(theArray() as Color, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Double, descending as boolean = false)
- SortArrayMBS(theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortArrayMBS(theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
- SortArrayMBS(theArray() as Variant, theDelegate as SortVariantDelegateVariantMBS, descending as boolean = false)
SortMBS.SortArrayMBS(theArray() as Variant, theDelegate as SortVariantDelegateVariantMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortArrayMBS(theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Currency, descending as boolean = false)
- SortArrayMBS(theArray() as Date, descending as boolean = false)
- SortArrayMBS(theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Int64, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, descending as boolean = false)
- SortArrayMBS(theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortArrayMBS(theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- SortArrayMBS(theArray() as String, descending as boolean = false)
SortMBS.SortMBS(extends theArray() as Boolean, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortMBS(extends theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortMBS(extends theArray() as DateTime, descending as boolean = false)
- SortMBS(extends theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortMBS(extends theArray() as Int32, descending as boolean = false)
- SortMBS(extends theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortMBS(extends theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortMBS(extends theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- SortMBS(extends theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- SortMBS(extends theArray() as UInt32, descending as boolean = false)
- SortMBS(extends theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
SortMBS.SortMBS(extends theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortMBS(extends theArray() as Boolean, descending as boolean = false)
- SortMBS(extends theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortMBS(extends theArray() as Int32, descending as boolean = false)
- SortMBS(extends theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortMBS(extends theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortMBS(extends theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- SortMBS(extends theArray() as String, descending as boolean = false)
- SortMBS(extends theArray() as UInt32, descending as boolean = false)
- SortMBS(extends theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
- SortMBS(extends theArray() as UInt64, descending as boolean = false)
SortMBS.SortMBS(extends theArray() as Color, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortMBS(extends theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortMBS(extends theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortMBS(extends theArray() as Date, descending as boolean = false)
- SortMBS(extends theArray() as DateTime, descending as boolean = false)
- SortMBS(extends theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortMBS(extends theArray() as Double, descending as boolean = false)
- SortMBS(extends theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortMBS(extends theArray() as Ptr, descending as boolean = false)
- SortMBS(extends theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
- SortMBS(extends theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
SortMBS.SortMBS(extends theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortMBS(extends theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortMBS(extends theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortMBS(extends theArray() as Date, descending as boolean = false)
- SortMBS(extends theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortMBS(extends theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- SortMBS(extends theArray() as Int32, descending as boolean = false)
- SortMBS(extends theArray() as Int64, descending as boolean = false)
- SortMBS(extends theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- SortMBS(extends theArray() as UInt32, descending as boolean = false)
- SortMBS(extends theArray() as UInt64, descending as boolean = false)
SortMBS.SortMBS(extends theArray() as Currency, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortMBS(extends theArray() as Boolean, descending as boolean = false)
- SortMBS(extends theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortMBS(extends theArray() as Date, descending as boolean = false)
- SortMBS(extends theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortMBS(extends theArray() as Double, descending as boolean = false)
- SortMBS(extends theArray() as Int32, descending as boolean = false)
- SortMBS(extends theArray() as Int64, descending as boolean = false)
- SortMBS(extends theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- SortMBS(extends theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- SortMBS(extends theArray() as UInt64, descending as boolean = false)
SortMBS.SortMBS(extends theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortMBS(extends theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortMBS(extends theArray() as Color, descending as boolean = false)
- SortMBS(extends theArray() as DateTime, descending as boolean = false)
- SortMBS(extends theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortMBS(extends theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- SortMBS(extends theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortMBS(extends theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortMBS(extends theArray() as Single, descending as boolean = false)
- SortMBS(extends theArray() as String, descending as boolean = false)
- SortMBS(extends theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
SortMBS.SortMBS(extends theArray() as Date, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.2 | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No | Desktop, Console & Web |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortMBS(extends theArray() as Boolean, descending as boolean = false)
- SortMBS(extends theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortMBS(extends theArray() as DateTime, descending as boolean = false)
- SortMBS(extends theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- SortMBS(extends theArray() as Int32, descending as boolean = false)
- SortMBS(extends theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortMBS(extends theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortMBS(extends theArray() as Ptr, descending as boolean = false)
- SortMBS(extends theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
- SortMBS(extends theArray() as UInt64, descending as boolean = false)
SortMBS.SortMBS(extends theArray() as DateTime, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortMBS(extends theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortMBS(extends theArray() as Color, descending as boolean = false)
- SortMBS(extends theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortMBS(extends theArray() as Date, descending as boolean = false)
- SortMBS(extends theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortMBS(extends theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortMBS(extends theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortMBS(extends theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- SortMBS(extends theArray() as UInt64, descending as boolean = false)
- SortMBS(extends theArray() as Variant, theDelegate as SortVariantDelegateVariantMBS, descending as boolean = false)
SortMBS.SortMBS(extends theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortMBS(extends theArray() as Boolean, descending as boolean = false)
- SortMBS(extends theArray() as Color, descending as boolean = false)
- SortMBS(extends theArray() as Date, descending as boolean = false)
- SortMBS(extends theArray() as DateTime, descending as boolean = false)
- SortMBS(extends theArray() as Int32, descending as boolean = false)
- SortMBS(extends theArray() as Single, descending as boolean = false)
- SortMBS(extends theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- SortMBS(extends theArray() as String, descending as boolean = false)
- SortMBS(extends theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
- SortMBS(extends theArray() as UInt64, descending as boolean = false)
SortMBS.SortMBS(extends theArray() as Double, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
See also:
- SortMBS(extends theArray() as Color, descending as boolean = false)
- SortMBS(extends theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortMBS(extends theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- SortMBS(extends theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- SortMBS(extends theArray() as Int32, descending as boolean = false)
- SortMBS(extends theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortMBS(extends theArray() as Int64, descending as boolean = false)
- SortMBS(extends theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- SortMBS(extends theArray() as Single, descending as boolean = false)
- SortMBS(extends theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
SortMBS.SortMBS(extends theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Sort | MBS Util Plugin | 24.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Does nothing for arrays with theArray.count < 2.
Pass true for descending to reverse the order.
Your delegate should be fast and return 0 if both values are equal, 1 if first value is bigger or -1 if first value is smaller.
See also:
- SortMBS(extends theArray() as Boolean, descending as boolean = false)
- SortMBS(extends theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- SortMBS(extends theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- SortMBS(extends theArray() as Date, descending as boolean = false)
- SortMBS(extends theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- SortMBS(extends theArray() as Int64, descending as boolean = false)
- SortMBS(extends theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- SortMBS(extends theArray() as String, descending as boolean = false)
- SortMBS(extends theArray() as UInt32, descending as boolean = false)
- SortMBS(extends theArray() as UInt64, descending as boolean = false)
The items on this page are in the following plugins: MBS Util Plugin.
![The biggest plugin in space...](https://www.monkeybreadsoftware.de/images/xojoplugin.png)