Closed bernharduw closed 5 years ago
In retrospect this can be considered more of a bugfix than a breaking change 👍 Thank you!
:tada: This PR is included in version 4.0.2 :tada:
The release is available on:
npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:
What:
When using multiple keys to filter objects, the objects are always sorted by the last key in the list (if the ranks are otherwise equal), no matter which key actually matched. This PR fixes that behavior.
Why:
Sorting by last key is unexpected and most probably unintended py the original PR.
How:
I set the key to be sorted on to the one that actually matched.
Checklist: