Bobby Heid
bheid at appdevgrp.com
Tue Apr 22 09:59:18 CDT 2003
Hi Susan, QuickSort is the name of a sorting method. You would sort values in an array with this. You have to supply this function (Stuart replied with an implementation of the QuickSort algorithm). QuickSort is generically the fastest sorting method. Although there are times when the data input order degrades the speed. Also, the initial overhead of the QuickSort algorithm make it not a great candidate for small data sets (<=50 to 100). All of my replies have assumed that you were putting the data into an array before adding the data to your control. I was just throwing out this sort information for you if you chose to go that route. Here's a nice write-up about QuickSort and other sorts: http://www.mvps.org/vbnet/index.html?code/sort/qsoverview.htm Sorry for confusing you. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Susan Harkins Sent: Tuesday, April 22, 2003 10:29 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] sorting a list > > For an array, if it is a small list, just use a simple Bubble sort (less > than 50 or so). Otherwise, a QuickSort is probably your best bet. ======QuickSort? Do you mean the sort tools? I'm dumping the list into a list control, can't sort a control's list that way -- can you? Or is it something else? If so, what? Susan H. _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com