aeharding / aeharding/timeout-sort

Works incorrectly for negative integers

Open
#1 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Example
```
timeoutSort([-5, -20, -642, -80], function cbSort(sortedArray, err) {
if (err) console.log("You suck!");
console.log(sortedArray);
});
```
Result:
```
[-5, -20, -642, -80]
```
Expected result:
```
[-642, -80, -20, -5]
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.