cosmicanant/recursive-diff

Idea - how about first sort arrays on each level before compare them

Closed this issue · 1 comments

Idea - how about first sort arrays on each level before compare them

yes, good idea, but see, the schema of the array item is not fixed. sometimes it can be just a number, or a deeply nested object, so you don't know actually that what sorting function can be used here, another way, we can take a custom function from the user itself, would you like to contribute?