This repository has been archived by the owner on Aug 11, 2021. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: sorting function needs to return an integer
The sorting function was returning a boolean, which is wrong. For proper comparison it needs to return an integer. Intrestingly enough, this issue only surfaced in the Browser test run on Windows. There somehow the sorting function of a two element array gets the second element first, then the second element.
- Loading branch information