Sebastian Spaeth 54d3307499 imaputil: make uid_sequence sort all items to improve collapsing
To preserve previous behavior and save a few CPU cycles, we were not sorting UID
lists and only collapsed them if they were alreay sorted.  Vincent pointed out
that this is not always the case and unsorted lists lead to non-optimally
collapsing.

Force lists to numeric types and sort them before collapsing.

Reported-by: Beffara <vbeffara@ens-lyon.fr>
Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
Signed-off-by: Nicolas Sebrecht <nicolas.s-dev@laposte.net>
2011-09-02 22:02:51 +02:00
..
2011-08-19 18:37:00 +02:00
2011-08-10 21:44:58 +02:00
2011-08-30 22:19:16 +02:00
2011-08-23 20:57:38 +02:00
2011-06-16 18:57:35 +02:00
2006-08-12 05:15:55 +01:00
2011-05-08 14:25:16 +02:00