GtkClist sorting
| From: | Cosmin | Date: | Wed, 03 Mar 2004 10:18:54 +0000 |
| Subject: | GtkClist sorting | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-4438@lists.php.net to get a copy of this message | ||
Hello
I'm stuck with the following situation:
I have a cList with a column containing only integers. When I sort the
list I get something like 1,10,2,3 ... I've searched the mailing list
archive and I found out that GtkCList::sort() uses the "natural order"
algorithm. I know I can use PHP to sort the list and then display it the
way I want, but I want to know if there isn't another way to do this.
--
Cosmin Budinschi <cosminb@as.ro>
Web Developer