savannah-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers] [ 101899 ] Filelist sorting problems


From: nobody
Subject: [Savannah-hackers] [ 101899 ] Filelist sorting problems
Date: Tue, 04 Mar 2003 07:31:27 -0500


Support Request #101899, was updated on Tue 03/04/03 at 12:11
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=101899&group_id=11

Category: None
Status: Closed
Priority: 5
Summary: Filelist sorting problems

By: yeupou
Date: Tue 03/04/03 at 13:31
Logged In: YES 
user_id=1896
Browser: Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.21-pre4; i686; fr, 
address@hidden)

My previous post is in fact uncorrect. 
 
You can easily sort numerically with perl, but it's slow, and it would 
require to guess wich part of a package name should be sorted 
numerically. Finally, it's would be very very slow: the cost is too 
much, isn't it? 
 
(And I do not even now if it's possible with PHP). 

----------------------------------------------------------------------

By: yeupou
Date: Tue 03/04/03 at 13:09
Logged In: YES 
user_id=1896
Browser: Mozilla/5.0 (compatible; Konqueror/3.1; Linux 2.4.21-pre4; i686; fr, 
address@hidden)

As far I know, with most computers, an ordered list consider 10 
lower than 9. Because it only read the first character. 
 
Asking the system to calculate the real value of each number 
would surely overload any system existing if you have an 
important number of files. That probably why I never seen any 
ordered listing doing these calculations. 
 
There is an easy work around: type 01 instead of 1 - even 001 if 
you think you'll reach 100. 
 

----------------------------------------------------------------------
You can respond by visiting: 
http://savannah.gnu.org/support/?func=detailsupport&support_id=101899&group_id=11




reply via email to

[Prev in Thread] Current Thread [Next in Thread]