Home My space log
Language EN (English)

Sort a list by hand

JavaScript Intermediate alien ages teen+

The problem

Write a function sortNumbers(numbers). It gives back a NEW list with the same numbers from smallest to biggest. Do not change the list you were given, and do not use .sort().

You will practice: arrays, nested loops, swapping, sorting

Mode

Press Tab to indent. Press Esc and then Tab to move on to the next button.

Your code runs in your browser. We do not receive it or save it.

Test results

      What your code printed