Your event handler will be called with the following extra arguments:
Entry1:
Entry2:
Your callback function then has to return a value that indicates how the two entries should be aligned in the listview. If entry 1 should be placed before 2, your callback has to return -1. If entry 1 should be placed after entry 2, your callback has to return 1. If the two entries are the same, return 0.
See Notifications for details.