Infosys Interview Question

Sorting Integer array?

Interview Answer

Anonymous

Sep 30, 2019

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