# HELP:Sorting ASP arrays in order into tables

**URL:** <https://forum.kirupa.com/t/help-sorting-asp-arrays-in-order-into-tables/49644>\
**Category:** programming\
**Created:** [April 25, 2004, 4:21am UTC](https://forum.kirupa.com/t/help-sorting-asp-arrays-in-order-into-tables/49644 "2004-04-25T04:21:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vance](https://avatars.discourse-cdn.com/v4/letter/v/3be4f8/32.png) [@Vance](https://forum.kirupa.com/u/Vance)\
**Post date:** [April 25, 2004, 4:21am UTC](https://forum.kirupa.com/t/help-sorting-asp-arrays-in-order-into-tables/49644/1 "2004-04-25T04:21:48Z")

</div>

I’m new to ASP so just starting out with a few basic scripting. I’m trying to script a guessing game in Javascript which user guesses a number between 0-100 it counts number of guesses made. Because I’ve made the javascript game to run in a form after they’ve guessed the right number it processes the form to store\_score.asp which collects thier name and number of guesses. Data is collected and stored in a variable there’s a link to view score list and to go back to game.htm. Now View\_score.asp will process the variable which the name and number of guesses is stored. What I’m stuck on is processing this variable array of ppl’s name and score into a table with name and score from lowest number of guesses being on top row and highest number of guess at the bottom.  
I’ve found some clues here:  
[color=#003366][www.minwar.com/learn/ASP/General/Arrays3.asp[/color][url=“http://www.codefixer.com/tutorials/multidimensional\_arrays.asp”]](http://www.minwar.com/learn/ASP/General/Arrays3.asp)  
but in that example arrays have to be defined to go in which column/row. I need it to be organised dynamically into tables plus sort it in ascending order.  
Is what I’m saying even possible? 🙂 Thanks In advance to helpers…
