http://www.vb-helper.com/HowTo/sortarr.zip Purpose This toolkit contains subroutines for sorting arrays of Integers, Longs, Singles, Doubles, Strings, and Variants. Use the SortIntArray, SortDoubleArray, etc. subroutines. Method Uses the quicksort algorithm. For more information on this and other sorting algorithms, as well as lots of other useful algorithms, look at the book Ready-to-Run Visual Basic Algorithms by Rod Stephens, John Wiley & Sons, 1998. For more information go to http://www.vb-helper.com/vba.htm. Disclaimer This example program is provided "as is" with no warranty of any kind. It is intended for demonstration purposes only. In particular, it does no error handling. You can use the example in any form, but please mention www.vb-helper.com.