How To Sort Algorithms for Numeric Arrays (169617)
The information in this article applies to:
- Microsoft Visual Basic Enterprise Edition for Windows 4.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 4.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic for Applications 5.0
- Microsoft Visual Basic for Applications 6.0
This article was previously published under Q169617 SUMMARY
This article demonstrates how to use sort algorithms for sorting numeric arrays. It describes three methods of sorting a series of numbers and provides sample code that shows how to implement them with the time taken to sort by each algorithm.
REFERENCES
For additional information on how to use the QueryPerformanceCounter function, click the article number below to view the article in the Microsoft Knowledge Base:
172338 How To Use QueryPerformanceCounter to Time Code
Modification Type: | Minor | Last Reviewed: | 8/30/2004 |
---|
Keywords: | kbhowto kbsample KB169617 |
---|
|