The browser storage localStorage is not available. Either your browser does not support it or you have disabled it or the maximum memory size is exceeded. Without localStorage your solutions will not be stored.
Now we can sort arrays with given length.
Write a function
sortthat takes an array filled with 3 numbers and returns these 3 numbers sorted in ascending order as an array.
sort([2, 3, 1])should return
[1, 2, 3].