Sorts items by fiber position in the React tree. Items are grouped by React root (roots keep first-listed order); items without a resolvable fiber keep input order, after their group's sorted items.
Sorts items by fiber position in the React tree. Items are grouped by React root (roots keep first-listed order); items without a resolvable fiber keep input order, after their group's sorted items.