ListBoxSortFunc

typealias ListBoxSortFunc = (row1: ListBoxRow, row2: ListBoxRow) -> Int

Compare two rows to determine which should be first.

  • param row1 the first row

  • param row2 the second row

  • return < 0 if @row1 should be before @row2, 0 if they are equal and 0 otherwise