| View previous topic :: View next topic |
| Author |
Message |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Fri Jul 01, 2005 9:36 am Post subject: Help with sorting lists. |
|
|
What the best way to sort a list?
I have tried the list sort,list1 command but im not happy with it.
Whats the best was to sort a list a though to z and z though to a?
Thank you |
|
| Back to top |
|
 |
Serge Professional Member


Joined: 04 Mar 2002 Posts: 1480 Location: Australia
|
Posted: Fri Jul 01, 2005 10:13 am Post subject: |
|
|
instead of using a list, why don't you use a table as clicking on the top label of any column will automatically sort alphabetically or reverse alphabetically the contents of that column
just a thought
serge _________________
|
|
| Back to top |
|
 |
ShinobiSoft Professional Member


Joined: 06 Nov 2002 Posts: 790 Location: Knoxville, Tn
|
Posted: Fri Jul 01, 2005 12:47 pm Post subject: |
|
|
For VDS 4.5 and below, LIST SORT,XX is only for internal (invisible) string
lists (I think). You could also try creating the list with the sort attribute.
| Code: |
LIST CREATE,LIST1,SORTED
|
As far as alternate methods go, you'll need to create/provided your own
implementation. _________________ Bill Weckel
ShinobiSoft Software
"The way is known to all, but not all know it." |
|
| Back to top |
|
 |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Mon Jul 04, 2005 9:47 am Post subject: |
|
|
Hi, sorry for the late reply.
I have a visible list i need to sort both ways. Looks like writing something to do it maybe the only way. |
|
| Back to top |
|
 |
DW Contributor

Joined: 21 Mar 2003 Posts: 175 Location: UK
|
Posted: Tue Jul 05, 2005 10:23 am Post subject: |
|
|
Ok i think i am diging my self a hole.
How do i sort a list without sort? |
|
| Back to top |
|
 |
|