<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/asp/tags/bubblesort</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 13 Oct 2008 17:36:16 GMT</pubDate>
<item>
<title>(ASP) ASP sort multi-dimensional array - elightbo</title>
<link>http://snipplr.com/view/1536/asp-sort-multidimensional-array/</link>
<description><![CDATA[ <p>'==--------------------------------------------------------==
  '== Sort a 2 dimensional array on SortField                ==
  '==                                                        ==
  '== This procedure is adapted from the algorithm given in: ==
  '==    ~ Data Abstractions &amp; Structures using C++ by ~     ==
  '==    ~ Mark Headington and David Riley, pg. 586    ~     ==
  '== Quicksort is the fastest array sorting routine for     ==
  '== unordered arrays.  Its big O is  n log n               ==
  '==                                                        ==
  '== Parameters:                                            ==
  '== vec       - array to be sorted                         ==
  '== SortField - The field to sort on (2nd dimension value) ==
  '== loBound and hiBound are simply the upper and lower     ==
  '==   bounds of the array's 1st dimension.  It's probably  ==
  '==   easiest to use the LBound and UBound functions to    ==
  '==   set these.                                           ==
  '==--------------------------------------------------------==</p> ]]></description>
<pubDate>Fri, 03 Nov 2006 14:03:10 GMT</pubDate>
<guid>http://snipplr.com/view/1536/asp-sort-multidimensional-array/</guid>
</item>
</channel>
</rss>