Event to compare two entries for sorting
Source position: MUIClass.List.pas line 127
If you plan to have the entries of your list sorted (either by inserting them sorted or by using the Sort() method) and if the entries of your list are not simple strings, you must supply a compare hook.
|Result Value||Entry relation|
|< 0||Entry1 < Entry2|
|= 0||Entry1 = Entry2|
|> 0||Entry1 > Entry2|