If you plan to have the entries of your list sorted
(either by inserting them sorted or by using the
MUIM_List_Sort method) and if the entries of your
list are not simple strings, you must supply
a compare hook.
This hook will be called with one list element in A1
and another one in A2. You should return
return value |
statement |
-1 |
e1 |
< |
e2 |
0 |
e1 |
== |
e2 |
1 |
e1 |
> |
e2 |