Sorted, unique row indices inside 0 … rowCount - 1 (the order of the dragged rows is their display order).
0 … rowCount - 1
any indices, e.g. from a selection
number of rows
a new, ascending array
normalizeRowIndices([5, 2, 2, 99, -1], 10); // [2, 5] Copy
normalizeRowIndices([5, 2, 2, 99, -1], 10); // [2, 5]
1.1.95
Sorted, unique row indices inside
0 … rowCount - 1(the order of the dragged rows is their display order).