Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 326427
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T09:18:30+00:00 2026-05-12T09:18:30+00:00

I have Googled ASP Classic implementations of the natural sort algorithm to no avail.

  • 0

I have Googled ASP Classic implementations of the natural sort algorithm to no avail. Best I was able to find was from Dave Koelle, which was from a question on SO. Issue is that since I need to implement this algorithm in ASP Classic, I don’t have access to certain functions such as

Collections.sort(your list, new AlphanumComparator());

Ideally, I’d like to pass an array to a function and have it return to me the ordered array.

Any ideas as to what I could do?

Thank you.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T09:18:30+00:00Added an answer on May 12, 2026 at 9:18 am

    You haven’t specified which language you are using in ASP. Typically this would be VBScript.

    However if you were to use JScript instead then you can use JScript’s array object and use its sort method. This method optionally takes as a parameter a comparator function.

     var a = new Array();
     // code to populate array
    
     a.sort(function() { // Comparator code returning (-1|0|1) });
    

    There is no need to convert everything to JScript, you can use utilities written in JScript from VBScript.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have googled in the last 3 hours but i can't seem to find
I have Googled merge+cell+Javascript but did not find any suitable code to implement merge
I have googled this a little and didn't really find the answer I needed.
I have googled some time now trying to find a good sample application that
I have an old classic ASP site I'm maintaining and in the midst of
I'm calling a classic .asp page from jquery to return a list (using JSONP).
I have searched and Googled for the answer to this question to no avail.
We have two old websites in Classic ASP and few websites in ASP.NET 2.0.
I have worked with ASP.NET(C#, classic/MVC), Django(Python) and CI(php) but I am completely new
i have googled the heck out of this and i cannot find a solution.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.