Returns a new array of items sorted by React tree position. Items must share one React root. Items without a mounted fiber come last, in input order.
items
Returns a new array of
itemssorted by React tree position. Items must share one React root. Items without a mounted fiber come last, in input order.