Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Multi sort arrays?

Reply
Thread Tools

Multi sort arrays?

 
 
jodleren
Guest
Posts: n/a
 
      12-09-2009
Hi

I have 3 arrays, which I'd like to sort - say ('cat, dog), (red,
green)
In PHP it is array_multisort

Does ASP have anything like that?

WBR
Sonnich
 
Reply With Quote
 
 
 
 
Bob Barrows
Guest
Posts: n/a
 
      12-09-2009
jodleren wrote:
> Hi
>
> I have 3 arrays, which I'd like to sort - say ('cat, dog), (red,
> green)
> In PHP it is array_multisort
>
> Does ASP have anything like that?
>

A more relevant question is: does vbscript or jscript have anything like
that? Remember, ASP is not a language: it is a "platform" which supports
several scriptiing languages.

The answer:
vbscript has nothing like that. Googling "vbscript sort array" will bring up
several solutions, including using an ad hoc recordset object.

jscript arrays do have a sort method builtin, so you might want to
investigate using that (google it) - remember, you can use jscript in
server-side code.

--
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: When will Thunderbird support sort in place (in context sort)? Ron Natalie Firefox 0 02-02-2006 04:38 AM
The Colourised Bewitched -- sort of OK....... sort of! anthony DVD Video 26 06-28-2005 04:39 AM
xsl:sort lang="es" modern vs. tradidional Spanish sort order nobody XML 0 06-01-2004 06:25 AM
multi-field array sort using Sort::Fields method Domenico Discepola Perl Misc 6 04-28-2004 04:28 AM
Ado sort error-Ado Sort -Relate, Compute By, or Sort operations cannot be done on column(s) whose key length is unknown or exceeds 10 KB. Navin ASP General 1 09-09-2003 07:16 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57