Platforms to show: All Mac Windows Linux Cross-Platform
Sort
Sorting for Xojo arrays.
- Modules
- module SortMBS
- method AddArrayMBS(array1() as Boolean, array2() as Boolean)
- method AddArrayMBS(array1() as Color, array2() as Color)
- method AddArrayMBS(array1() as Currency, array2() as Currency)
- method AddArrayMBS(array1() as Date, array2() as Date)
- method AddArrayMBS(array1() as DateTime, array2() as DateTime)
- method AddArrayMBS(array1() as Double, array2() as Double)
- method AddArrayMBS(array1() as Int32, array2() as Int32)
- method AddArrayMBS(array1() as Int64, array2() as Int64)
- method AddArrayMBS(array1() as Object, array2() as Object)
- method AddArrayMBS(array1() as Ptr, array2() as Ptr)
- method AddArrayMBS(array1() as Single, array2() as Single)
- method AddArrayMBS(array1() as String, array2() as String)
- method AddArrayMBS(array1() as UInt32, array2() as UInt32)
- method AddArrayMBS(array1() as UInt64, array2() as UInt64)
- method AddArrayMBS(array1() as Variant, array2() as Variant)
- method AddMBS(extends array1() as Boolean, array2() as Boolean)
- method AddMBS(extends array1() as Color, array2() as Color)
- method AddMBS(extends array1() as Currency, array2() as Currency)
- method AddMBS(extends array1() as Date, array2() as Date)
- method AddMBS(extends array1() as DateTime, array2() as DateTime)
- method AddMBS(extends array1() as Double, array2() as Double)
- method AddMBS(extends array1() as Int32, array2() as Int32)
- method AddMBS(extends array1() as Int64, array2() as Int64)
- method AddMBS(extends array1() as Object, array2() as Object)
- method AddMBS(extends array1() as Ptr, array2() as Ptr)
- method AddMBS(extends array1() as Single, array2() as Single)
- method AddMBS(extends array1() as String, array2() as String)
- method AddMBS(extends array1() as UInt32, array2() as UInt32)
- method AddMBS(extends array1() as UInt64, array2() as UInt64)
- method AddMBS(extends array1() as Variant, array2() as Variant)
- method CopyArrayMBS(source() as Boolean, dest() as Boolean, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as Color, dest() as Color, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as Currency, dest() as Currency, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as Date, dest() as Date, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as DateTime, dest() as DateTime, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as Double, dest() as Double, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as Int32, dest() as Int32, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as Int64, dest() as Int64, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as Object, dest() as Object, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as Ptr, dest() as Ptr, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as Single, dest() as Single, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as String, dest() as String, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as UInt32, dest() as UInt32, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as UInt64, dest() as UInt64, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyArrayMBS(source() as Variant, dest() as Variant, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as Boolean, dest() as Boolean, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as Color, dest() as Color, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as Currency, dest() as Currency, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as Date, dest() as Date, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as DateTime, dest() as DateTime, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as Double, dest() as Double, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as Int32, dest() as Int32, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as Int64, dest() as Int64, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as Object, dest() as Object, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as Ptr, dest() as Ptr, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as Single, dest() as Single, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as String, dest() as String, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as UInt32, dest() as UInt32, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as UInt64, dest() as UInt64, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CopyMBS(extends source() as Variant, dest() as Variant, sourceIndex as Integer = 0, sourceCount as Integer = -2, destIndex as Integer = 0)
- method CountValueMBS(extends source() as Boolean, value as Boolean, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Integer
- method CountValueMBS(extends source() as Currency, value as Currency, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Integer
- method CountValueMBS(extends source() as Double, value as Double, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Integer
- method CountValueMBS(extends source() as Int32, value as Int32, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Integer
- method CountValueMBS(extends source() as Int64, value as Int64, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Integer
- method CountValueMBS(extends source() as Ptr, value as Ptr, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Integer
- method CountValueMBS(extends source() as Single, value as Single, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Integer
- method CountValueMBS(extends source() as String, value as String, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Integer
- method CountValueMBS(extends source() as UInt32, value as UInt32, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Integer
- method CountValueMBS(extends source() as UInt64, value as UInt64, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Integer
- method EqualsArrayMBS(array1() as Boolean, array2() as Boolean, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsArrayMBS(array1() as Color, array2() as Color, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsArrayMBS(array1() as Currency, array2() as Currency, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsArrayMBS(array1() as Double, array2() as Double, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsArrayMBS(array1() as Int32, array2() as Int32, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsArrayMBS(array1() as Int64, array2() as Int64, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsArrayMBS(array1() as Ptr, array2() as Ptr, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsArrayMBS(array1() as Single, array2() as Single, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsArrayMBS(array1() as String, array2() as String, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsArrayMBS(array1() as UInt32, array2() as UInt32, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsArrayMBS(array1() as UInt64, array2() as UInt64, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsMBS(extends array1() as Boolean, array2() as Boolean, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsMBS(extends array1() as Color, array2() as Color, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsMBS(extends array1() as Currency, array2() as Currency, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsMBS(extends array1() as Double, array2() as Double, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsMBS(extends array1() as Int32, array2() as Int32, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsMBS(extends array1() as Int64, array2() as Int64, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsMBS(extends array1() as Ptr, array2() as Ptr, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsMBS(extends array1() as Single, array2() as Single, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsMBS(extends array1() as String, array2() as String, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsMBS(extends array1() as UInt32, array2() as UInt32, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method EqualsMBS(extends array1() as UInt64, array2() as UInt64, array1offset as Integer = 0, count as Integer = -2, array2offset as Integer = 0) as Boolean
- method ReverseMBS(extends theArray() as Boolean)
- method ReverseMBS(extends theArray() as Color)
- method ReverseMBS(extends theArray() as Currency)
- method ReverseMBS(extends theArray() as Date)
- method ReverseMBS(extends theArray() as DateTime)
- method ReverseMBS(extends theArray() as Double)
- method ReverseMBS(extends theArray() as Int32)
- method ReverseMBS(extends theArray() as Int64)
- method ReverseMBS(extends theArray() as Object)
- method ReverseMBS(extends theArray() as Ptr)
- method ReverseMBS(extends theArray() as Single)
- method ReverseMBS(extends theArray() as String)
- method ReverseMBS(extends theArray() as UInt32)
- method ReverseMBS(extends theArray() as UInt64)
- method ReverseMBS(extends theArray() as Variant)
- method SortArrayMBS(theArray() as Boolean, descending as boolean = false)
- method SortArrayMBS(theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- method SortArrayMBS(theArray() as Color, descending as boolean = false)
- method SortArrayMBS(theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- method SortArrayMBS(theArray() as Currency, descending as boolean = false)
- method SortArrayMBS(theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- method SortArrayMBS(theArray() as Date, descending as boolean = false)
- method SortArrayMBS(theArray() as DateTime, descending as boolean = false)
- method SortArrayMBS(theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- method SortArrayMBS(theArray() as Double, descending as boolean = false)
- method SortArrayMBS(theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- method SortArrayMBS(theArray() as Int32, descending as boolean = false)
- method SortArrayMBS(theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- method SortArrayMBS(theArray() as Int64, descending as boolean = false)
- method SortArrayMBS(theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- method SortArrayMBS(theArray() as Ptr, descending as boolean = false)
- method SortArrayMBS(theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- method SortArrayMBS(theArray() as Single, descending as boolean = false)
- method SortArrayMBS(theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- method SortArrayMBS(theArray() as String, descending as boolean = false)
- method SortArrayMBS(theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- method SortArrayMBS(theArray() as UInt32, descending as boolean = false)
- method SortArrayMBS(theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
- method SortArrayMBS(theArray() as UInt64, descending as boolean = false)
- method SortArrayMBS(theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
- method SortArrayMBS(theArray() as Variant, theDelegate as SortVariantDelegateVariantMBS, descending as boolean = false)
- method SortMBS(extends theArray() as Boolean, descending as boolean = false)
- method SortMBS(extends theArray() as Boolean, theDelegate as SortVariantDelegateBooleanMBS, descending as boolean = false)
- method SortMBS(extends theArray() as Color, descending as boolean = false)
- method SortMBS(extends theArray() as Color, theDelegate as SortVariantDelegateColorMBS, descending as boolean = false)
- method SortMBS(extends theArray() as Currency, descending as boolean = false)
- method SortMBS(extends theArray() as Currency, theDelegate as SortVariantDelegateCurrencyMBS, descending as boolean = false)
- method SortMBS(extends theArray() as Date, descending as boolean = false)
- method SortMBS(extends theArray() as DateTime, descending as boolean = false)
- method SortMBS(extends theArray() as DateTime, theDelegate as SortVariantDelegateDateTimeMBS, descending as boolean = false)
- method SortMBS(extends theArray() as Double, descending as boolean = false)
- method SortMBS(extends theArray() as Double, theDelegate as SortVariantDelegateDoubleMBS, descending as boolean = false)
- method SortMBS(extends theArray() as Int32, descending as boolean = false)
- method SortMBS(extends theArray() as Int32, theDelegate as SortVariantDelegateInt32MBS, descending as boolean = false)
- method SortMBS(extends theArray() as Int64, descending as boolean = false)
- method SortMBS(extends theArray() as Int64, theDelegate as SortVariantDelegateInt64MBS, descending as boolean = false)
- method SortMBS(extends theArray() as Ptr, descending as boolean = false)
- method SortMBS(extends theArray() as Ptr, theDelegate as SortVariantDelegatePtrMBS, descending as boolean = false)
- method SortMBS(extends theArray() as Single, descending as boolean = false)
- method SortMBS(extends theArray() as Single, theDelegate as SortVariantDelegateSingleMBS, descending as boolean = false)
- method SortMBS(extends theArray() as String, descending as boolean = false)
- method SortMBS(extends theArray() as String, theDelegate as SortVariantDelegateStringMBS, descending as boolean = false)
- method SortMBS(extends theArray() as UInt32, descending as boolean = false)
- method SortMBS(extends theArray() as UInt32, theDelegate as SortVariantDelegateUInt32MBS, descending as boolean = false)
- method SortMBS(extends theArray() as UInt64, descending as boolean = false)
- method SortMBS(extends theArray() as UInt64, theDelegate as SortVariantDelegateUInt64MBS, descending as boolean = false)
- method SortMBS(extends theArray() as Variant, theDelegate as SortVariantDelegateVariantMBS, descending as boolean = false)
- method SumArrayMBS(source() as Boolean, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Int64
- method SumArrayMBS(source() as Currency, sourceIndex as Integer = 0, sourceCount as Integer = -2, CheckOverflow as Boolean = false) as Currency
- method SumArrayMBS(source() as Double, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Double
- method SumArrayMBS(source() as Int32, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Int64
- method SumArrayMBS(source() as Int64, sourceIndex as Integer = 0, sourceCount as Integer = -2, CheckOverflow as Boolean = false) as Int64
- method SumArrayMBS(source() as Single, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Double
- method SumArrayMBS(source() as UInt32, sourceIndex as Integer = 0, sourceCount as Integer = -2, CheckOverflow as Boolean = false) as UInt64
- method SumArrayMBS(source() as UInt64, sourceIndex as Integer = 0, sourceCount as Integer = -2, CheckOverflow as Boolean = false) as UInt64
- method SumMBS(extends source() as Boolean, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Int64
- method SumMBS(extends source() as Currency, sourceIndex as Integer = 0, sourceCount as Integer = -2, CheckOverflow as Boolean = false) as Currency
- method SumMBS(extends source() as Double, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Double
- method SumMBS(extends source() as Int32, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Int64
- method SumMBS(extends source() as Int64, sourceIndex as Integer = 0, sourceCount as Integer = -2, CheckOverflow as Boolean = false) as Int64
- method SumMBS(extends source() as Single, sourceIndex as Integer = 0, sourceCount as Integer = -2) as Double
- method SumMBS(extends source() as UInt32, sourceIndex as Integer = 0, sourceCount as Integer = -2, CheckOverflow as Boolean = false) as UInt64
- method SumMBS(extends source() as UInt64, sourceIndex as Integer = 0, sourceCount as Integer = -2, CheckOverflow as Boolean = false) as UInt64
- delegate SortVariantDelegateBooleanMBS(v1 as Boolean, v2 as Boolean) as Integer
- delegate SortVariantDelegateColorMBS(v1 as Color, v2 as Color) as Integer
- delegate SortVariantDelegateCurrencyMBS(v1 as Currency, v2 as Currency) as Integer
- delegate SortVariantDelegateDateTimeMBS(v1 as DateTime, v2 as DateTime) as Integer
- delegate SortVariantDelegateDoubleMBS(v1 as Double, v2 as Double) as Integer
- delegate SortVariantDelegateInt32MBS(v1 as Int32, v2 as Int32) as Integer
- delegate SortVariantDelegateInt64MBS(v1 as Int64, v2 as Int64) as Integer
- delegate SortVariantDelegatePtrMBS(v1 as Ptr, v2 as Ptr) as Integer
- delegate SortVariantDelegateSingleMBS(v1 as Single, v2 as Single) as Integer
- delegate SortVariantDelegateStringMBS(v1 as String, v2 as String) as Integer
- delegate SortVariantDelegateUInt32MBS(v1 as UInt32, v2 as UInt32) as Integer
- delegate SortVariantDelegateUInt64MBS(v1 as UInt64, v2 as UInt64) as Integer
- delegate SortVariantDelegateVariantMBS(v1 as Variant, v2 as Variant) as Integer
- module SortMBS
- Blog Entries
- MonkeyBread Software Releases the MBS Xojo Plugins in version 25.2
- MBS Xojo Plugins, version 25.2pr6
- MBS Xojo Plugins, version 25.2pr4
- News from the MBS Xojo Plugins in Version 25.1
- MonkeyBread Software Releases the MBS Xojo Plugins in version 25.1
- The SortMBS module
- News from the MBS Xojo Plugins Version 24.2
- MBS Xojo Plugins, version 24.2pr4
- News from the MBS Xojo Plugins Version 24.0
- MonkeyBread Software Releases the MBS Xojo Plugins in version 24.0
Release notes
- Version 25.2
- Added CountValueMBS for arrays to count how often a given value is in the array.
- Version 25.1
- Added Date/DateTime overloads for CopyArrayMBS and CopyMBS methods in SortMBS module.
- Added Date/DateTime/Variant overloads for AddArrayMBS and AddMBS methods in SortMBS module.
- Added DateTime/Object/Variant overloads for ReverseMBS methods in SortMBS module.
- Added ReverseMBS function for arrays.
- Version 24.3
- Fixed SortMBS module to work on Xojo 2019r1.
- Version 24.2
- Version 24.0
- Added CopyArrayMBS methods to copy array data to second array of same type.
- Added SortArrayMBS methods to sort with/without a delegate and ascending or descending.
The items on this page are in the following plugins: MBS Util Plugin.