On Mar 27, 2006, at 8:00 PM, Ron Benditt wrote:

Does anyone have a speedy method to replace array.sortwith? I've got a project that isn't doing so hot in RB2006, and would like to revert it to RB5.5.5 to do some testing. I've got .sortwith all throughout; some instances with as many as 5 other arrays being sorted with!


It would certainly be possible to modify the code in my SortLibrary <http://www.declareSub.com/> to implement a SortWith method. A better approach would be to define a little data class, an object of which holds element i of each array, then use SortLibrary to sort these objects. This could all be wrapped into a SortWith method, so that you wouldn't need to change your existing code to run in 5.5.

--------------
Charles Yeomans

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to