numbers = [4, 16, 9, 6]; console.log(numbers.sort());
Standard input is empty
16,4,6,9
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!