clist sorting
| From: | Tony Leake | Date: | Thu, 07 Aug 2003 09:47:46 +0000 |
| Subject: | clist sorting | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-3657@lists.php.net to get a copy of this message | ||
When I sort a clist using the following code:
$clist->set_sort_type(GTK_SORT_DESCENDING);
$clist->set_sort_column($column);
$clist->sort();
it sorts a list of integers (0-10) as follows
9
8
7
6
5
4
3
2
10
1
0
I guess it thinks they're strings, how can I fix this
thanks
Tony
--
There are two ways to write error-free programs; only the third one
works.