Link to home
Start Free TrialLog in
Avatar of Hammer8
Hammer8Flag for United States of America

asked on

How to quick sort a 2 dimensional array in vba

Hi, does anyone have a quick sort implementation that works on a 2 dimensional array where the sort column can be specified by the user?  Thanks!
ASKER CERTIFIED SOLUTION
Avatar of Mike Tomlinson
Mike Tomlinson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Idle_Mind, FYI, there is a previous discussion on this topic here that you may want to participate in:
https://www.experts-exchange.com/questions/24713182/How-to-sort-a-2-dimensional-array-in-vba-on-3-fields.html

It is from same asker on same subject.
Thanx for the heads up...  =)
Avatar of Hammer8

ASKER

Hi, please don't remove this - this was my first question on sorting a 2D array and is different than the other question I posted in that the goal of this was to be able to sort on multiple keys.  I didn't get any response to this question and so I posted the second question of sorting on just one key which is easier to implement.  If anyone has and idea on how to sort on multiple keys, that is the ideal solution I am looking for.  Thanks!
Avatar of Hammer8

ASKER

Hi, please don't remove this - this was my first question on sorting a 2D array and is different than the other question I posted in that the goal of this was to be able to sort on multiple keys.  I didn't get any response to this question and so I posted the second question of sorting on just one key which is easier to implement.  If anyone has and idea on how to sort on multiple keys, that is the ideal solution I am looking for.  Thanks!

Avatar of Hammer8

ASKER

Sorry - I thought the proposal was to close the other, "harder" question.