Sorting Algorithms

This sample code is a VB6 Project that will show you exactly what a sort looks like. The Quicksort algorithm is included along with the Selection Sort. Both of these sorts are extremely fast, but they can be compared in this program easily. In addition to the Quicksort, a Quicksort for sorting 2-dimensional arrays is included. It works just like the quicksort, only you can sort an array according to one of the dimensions, and the other dimension will sort along with it, so nothing is scrambled. An Array of Progress Bars is also included, so that the Bubble Sort could be seen, and an option for slowing down the Quicksort and Selection Sort is included so you can see both of these on the ProgressBar Array. I hope this basic sample code will help some of you looking for way to sort things out. Good luck.

You might also like...

Comments

Michael Gagne Current Occupation: Software Consulting Manager Degrees: BS-Computer Science, BS-Mathematics, Japanese minor Known Languages: C#, ASP.NET, MVC, WPF, PHP, SQL, C++, VB

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“A computer lets you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila” - Mitch Ratcliffe