forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help with sorting lists.

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Fri Jul 01, 2005 9:36 am    Post subject: Help with sorting lists. Reply with quote

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
View user's profile Send private message
Serge
Professional Member
Professional Member


Joined: 04 Mar 2002
Posts: 1480
Location: Australia

PostPosted: Fri Jul 01, 2005 10:13 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
ShinobiSoft
Professional Member
Professional Member


Joined: 06 Nov 2002
Posts: 790
Location: Knoxville, Tn

PostPosted: Fri Jul 01, 2005 12:47 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Mon Jul 04, 2005 9:47 am    Post subject: Reply with quote

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
View user's profile Send private message
DW
Contributor
Contributor


Joined: 21 Mar 2003
Posts: 175
Location: UK

PostPosted: Tue Jul 05, 2005 10:23 am    Post subject: Reply with quote

Ok i think i am diging my self a hole.

How do i sort a list without sort?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group