CGI interview question

Write a function that sorts an array.

Interview Answer

Anonymous

1 May 2016

array.sort(compareFunction)