Infosys interview question

Sorting Integer array?

Interview Answer

Anonymous

30 Sept 2019

array.sort(function (a,b){return a-b})