Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Multi sort arrays?

0 views
Skip to first unread message

jodleren

unread,
Dec 9, 2009, 4:09:17 AM12/9/09
to
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

Bob Barrows

unread,
Dec 9, 2009, 6:51:11 AM12/9/09
to
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"


0 new messages