Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
This comment is hidden because it contains spoiler information about the solution
I think you misread the MDN page : it states that stable sorting is mandatory since version 10
of Javascript
(aka EcmaScript 2019). On the same page, it is shown that the first Node version to mandate stablesort()
isNode 12.0
, which is the latest version that Codewars supports, but which isnt enabled for this particular kata, hence why your solution is failing.BTW, please flag your questions as
Question
instead ofIssue
which is reserved for problems provoked by the kata itselfBecause divsors always exist in pairs, one divisor below the root, and the other one above the root.
But, but, but.... it does
Maybe you mean that the ascending part should be specified. AFAIK most sorting implementations do this by default, and if not, should require only a tiny modification to your solution to rectify.
Not an issue :)