javascript associative array sort by key javascript associative array sort by value 22 Javascript Associative Array Sort If you are only concerned with the keys in the associative array and all the values are '1', then simply store the … Written By Anonymous Sunday, December 28, 2014 Add Comment Edit