Partitions an array of items based on a set of filtering functions.
Each item is matched against the filtering functions, and if a match is found,
the item is added to the corresponding collection
If no match is found, the item is added to the orphans collection.
On conflicts, the key order of the filtering functions in the object is used to determine priority.
Partitions an array of items based on a set of filtering functions. Each item is matched against the filtering functions, and if a match is found, the item is added to the corresponding collection
If no match is found, the item is added to the orphans collection.
On conflicts, the key order of the filtering functions in the object is used to determine priority.