@airblader I did something like yours, but at the same time I'm trying to pass the key parameter in the main function which is what will be sorting it by. I understand using the callback function in .sort but I get back .sort() is not a function. Any help clearing up this mystery for me?
would I pass in the key parameter from the main function into the callback function by chance?
Last edited by JonBMN; 02-28-2013 at 04:44 PM..