Sort JSON Object Array Based On A Key Attribute In JavaScript

var array = [{       "EmployeeName": "John",       "Experience": "12",       "Technology": "SharePoint"   }, {       "EmployeeName": "Charles",       "Experience": "9",       "Technology": "ASP.NET"   }, {       "EmployeeName": "Jo",       "Experience": "3",       "Technology": "JAVA"   }, {       "EmployeeName": "Daine",       "Experience": "7",       "Technology": "Sql Server"   }, {       "EmployeeName": "Zain",       "Experience": "6",       "Technology": "C#"   }];       //Comparer Function   function GetSortOrder(prop) {       return function(a, b) {           if (a[prop] > b[prop]) {               return 1;           } else if (a[prop] 

Read More