I generally post the code I have so far, but I have nothing on this one... :(
How would I go about re-ordering the following array so that I can base it on the value in the 'percentage' key, either low-to-high or high-to-low?
var data = [{
"id": "q1",
"question": "blah blah blah",
"percentage": "32"
}, {
"id": "q2",
"question": "blah blah blah",
"percentage": "23"
}, {
"id": "q3",
"question": "blah blah blah",
"percentage": "11"
}, {
"id": "q4",
"question": "blah blah blah",
"percentage": "3"
}, {
"id": "q5",
"question": "blah blah blah",
"percentage": "6"
}]