[PECL-BUG] Bug #15971 [NEW]: Statistics page needs improved sorting

[email protected] ("greenreaper at hotmail dot com")
Newsgroups php.pear.webmaster
Message-ID <[email protected]>
From:             greenreaper at hotmail dot com
Operating system: N/A
Package version:  
PHP version:      HEAD CVS-2009-02-15 (dev)
Package:          Web Site
Bug Type:         Bug
Bug description:  Statistics page needs improved sorting

Description:
------------
The sorting on the statistics page is inconsistent with the main module
page, and does not follow either the release date or the version number. It
appears to do a standard string sort on the version number, which is
inappropriate.

Expected result:
----------------
I expect a sort that either orders correctly by version number, or by
release date, both of which would be more readable.

3.1.2  	beta  	2008-12-12  	APC-3.1.2.tgz
3.1.1 	beta 	2008-12-12 	APC-3.1.1.tgz 
3.0.19 	stable 	2008-05-15 	APC-3.0.19.tgz 
3.0.18 	stable 	2008-03-28 	APC-3.0.18.tgz 
....
3.0.10  stable  2006-03-11  	APC-3.0.10.tgz
3.0.9 	stable 	2006-03-04 	APC-3.0.9.tgz

Actual result:
--------------
I get the sorting visible on this page:
http://pecl.php.net/package-stats.php?pid=220&rid=&cid=3

e.g. 
3.1.2  	9,497  	2008-12-12  	2009-02-15 20:37 UTC
3.1.1 	235 	2008-12-12 	2009-02-15 20:35 UTC
3.0.9 	3,128 	2006-03-04 	2009-02-15 20:35 UTC
3.0.8 	31,597 	2005-08-24 	2009-02-15 20:35 UTC
....
3.0.2 	1,216 	2005-07-05 	2009-02-15 20:34 UTC
3.0.19 	122,911 	2008-05-15 	2009-02-15 20:39 UTC
3.0.18 	22,085 	2008-03-28 	2009-02-15 20:34 UTC
...

-- 
Edit bug report at http://pecl.php.net/bugs/bug.php?id=15971&edit=1
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.