advertisement

Find Code  Advanced Search   

browse free vb code
Submit Code
ASP,  HTML, and XML
Database
Dates  and Math
Files  and Directories
Forms  and Controls
Lists,  Collections, and Arrays
Miscellaneous
Multimedia/Games
Office/VBA
Network/Internet
Registry
Screen/Graphics
String  Manipulation
System/API
Windows  2000/XP
VB.NET/ASP.NET



advertisement
Merge Sort and Bubble Sort For String Data

Author: Nathan Moschkin (Featured Developer)
Category: Lists, Collections, and Arrays
Type: Snippets
Difficulty: Intermediate

Version Compatibility:  Visual Basic 6  

More information: There is an extensive description in the code for what a merge sort is. A merge sort can be quicker than a qsort, especially if you're working with nearly sorted data; however mergesort and qsort are very similar. This one sorts 5600 strings in less than a second. Took me a few hours to write.

This code has been viewed 146119 times.

Instructions: Copy the declarations and code below and paste directly into your VB project.


Declarations:

Code:

No Text Boxes

Sponsored Links

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers