SORTING PROBLEM


var items = [43, 58, 12, 9, 31, 29, 17, 4, 88, 65, 34, 90];

The above list will be passed to the following method sort(items).
Write the logic to sort and then click execute to verify solution.

function sort(items) { // write your logic to sort and do not forget to return the list // You cannot use array.sort() method. return items; }