Insertion Sort for a Numeric Array
Category:Lists, Collections and Arrays
Author:Intelligent Solutions Inc.
This method uses the insertion sort algorithm to sort a numeric array. This algorithm is one of the simplest available, but there are better algorithms (to be posted on this site shortly) for longer lists.
Instructions: Copy the declarations and code below and paste directly into your VB project.