fruit.sort(); //apple, banana, orangevar num = 1, 10, 2, 9, 5;score.sort(function(a,b){ return a-b;//1, 2, 5, 9, 10 -> 오름차순});scort.sort(function(a,