Simple Sorting Routine For a Collection of Strings

Category:
Lists, Collections and Arrays
Type:
Snippets
Difficulty:
Intermediate
Author:
Tom Kalmijn

Version Compatibility: Visual Basic 6, Visual Basic.NET

More information:
This is a simple sorting routine for strings. The arguments are a list of string of type collection and your comparison type.

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

Declarations:

Code: