I'm having a sample object. I need to re arrange the objects a according to "Technology" key value. The array should be arranged in this way,
- if("Technology" == "SharePoint") these items should come first.
- if("Technology" == "Sql Server") these items should come second
- if("Technology" == "JAVA") these items should come third
var dataArray = [{
"EmployeeName": "John",
"Experience": "12",
"Technology": "SharePoint"
}, {
"EmployeeName": "Charles",
"Experience": "9",
"Technology": "Sql Server"
}, {
"EmployeeName": "Tommy",
"Experience": "3",
"Technology": "JAVA"
}, {
"EmployeeName": "Daine",
"Experience": "7",
"Technology": "Sql Server"
}, {
"EmployeeName": "Roger",
"Experience": "6",
"Technology": "JAVA"
},
{
"EmployeeName": "John",
"Experience": "12",
"Technology": "SharePoint"
}, {
"EmployeeName": "Michel",
"Experience": "9",
"Technology": "Sql Server"
}, {
"EmployeeName": "Jo",
"Experience": "3",
"Technology": "SharePoint"
}, {
"EmployeeName": "Jhona",
"Experience": "7",
"Technology": "JAVA"
}, {
"EmployeeName": "Toba",
"Experience": "6",
"Technology": "SharePoint"
}];