The sort function fails when the class tries to sort a column with negatives numbers. By example, use children column and set negative numbers in. (-2, -4, 0, 3) The sort process will fail.
Alexandar Minkovsky - 2014-06-26 13:21:44 - In reply to message 1 from manolo cacho
Been many years i didn't look at this code ;)
If not specified, comparison used will be strnatcasecmp.
To sort negative numbers, you will need to provide custom compare function.