Interviews - C# Corner

Anurag Tomar
How do you sort an Array of Numbers and an Array of Characters?
By Anurag Tomar in JavaScript onApr 18 2016
  • Anurag Tomar
    Apr, 2016 18

    For Sorting of an Array of Numbers :: tempArray.sort(function(a,b) {return a-b; } ));For Sorting of an Array of Characters :: tempArray.sort();

    • 1
  • Bidyasagar Mishra
    Aug, 2019 2

    array.sort()

    • 0
  • Mukesh Kumar
    Sep, 2017 2

    Array of number by comparing numbers & characters by there Unicode

    • 0

Most Popular Companies

Most Popular Job Functions

MOST LIKED QUESTIONS