Project

General

Profile

Previous Up Next

_CBlistTabSort
Define a callback comparison function.

ObjListTab _CBlistTabSort (
ObjListTab _listtab_
fun [ObjListTab u0 I I] I _callback_
u0 _user_
)
Parameters

_listtab_
any listtab
_callback_
callback function of comparaison (supplemental parameter are two item identifiers I1 and I2). this function should return 0 if I2 is before I1, or a positive integer if I1 is before I2.
_user_
user parameter
Return value

same listtab