Skip to content

Difference between sorting string array and numerical array in jQuery

7
  • Alpana Jaiswal
  • Deepak Bagwari
Difference between sorting string array and numerical array in jQuery

To sort any array, there is a predefined method called "sort" which sorts the array. sort() method sorts the string array in alphabetical order. But that doesn't work for numerical array as expected.

Read this post on jquerybyexample.net


Popular Articles by this blogger

Recommended for you