Function: reorderSteers()
reorderSteers<
T>(queue,orderedIds):T[]
Reorder the queue to match orderedIds (a drag-reorder of the pending
steers). Ids not present are dropped and unknown ids ignored, so a stale
order can’t duplicate or resurrect an item; any current steer missing from
orderedIds is appended in its existing relative order as a safety net.
Type Parameters
Section titled “Type Parameters”T extends QueuedSteer
Parameters
Section titled “Parameters”T[]
orderedIds
Section titled “orderedIds”string[]
Returns
Section titled “Returns”T[]