EDIT 4/16/2012: I solved the issue of getting the timezone abbreviated into a letter format, had to download a third party sorting method and add a few things to get the desired results. The only problem now is Daylight Savings Time handlers, but there are a bunch of subjects on that. However if anyone knows how to handle UTC Daylight Savings hanlers, please feel free to help.

Thank you everyone.
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
I've made an html table that I've binded with a javscript viewmodel using knockoutjs that pulls the info from a private server usin JSON function. I'm trying to make each column sortable (click on the column header once to get everything in descending order according to that column's info; click header again to get everything in ascending, and a third time to get everything in it's original order).

PLEASE NOTE: I have searched for my problem and have seen other solutions, but nothing so far has worked for me. I'm hoping to find a solution specific towards my code.

I'm having one hell of a hard time getting the Date in its converted form (yes it HAS to be in that form --> actually, I still need to figure out how to include the time-zone abbreviation right after the 'HHMM' part based off of UTC). So lets say I have "11 1136 Apr 12" and "22 1624 Jan 12" among other dates in the table. Right now when I try sorting the table according to the dates, they don't sort appropriately. Any help is appreciated, thank you.

EDIT: To be clear, I'm trying to display the timezones in military timezone codes (timezones 'A'-'Z'). Also, the dates being taken from the server are already in UTC.

sortBy_.sortBy(list, iterator, [context]) Returns a sorted copy of
list, ranked in ascending order by the results of running each value
through iterator. Iterator may also be the string name of the property
to sort by (eg. length).

Thanks, but I have looked at this in the past and while it made me think a little on how to handle the sorting, I overall didn't see it helping directly towards my situation. I have gotten the sorting worked out by all that remains is converting the timezone into the military UTC abbreviations which is simply one letter abbreviations (A-Z). I'm trying to get the date to display 'dd' (day) 'HH''MM''TZ'(hour/minutes/Timezone Abbreviation) mmm(month) yy(year). Right now I'm getting back something like:
–
Matt1713Apr 16 '12 at 12:04

Sorry, looks like my last comment got cut off. What I'm currently getting is something like "22 1626 (Wed Feb 22 2012 20:26:43 GMT(Eastern Standard Time)) Feb 12". The question is how to get all that in the parenthesis translated into a single letter abbreviation for UTC timezones (A-Z).
–
Matt1713Apr 16 '12 at 13:02

Thanks, I did a little re-working and got the sorting date to ascend and descend properly by not converting the date info strait out of the server. Instead I kept it in the milliseconds from 1970 format and created a dummy variable equal to that in my Events() section. I then run my sorting method based of that and show the converted format in the table. However, I'm still not sure how to display the appropriate timezone and I still have not been able to figure out how to get the table to return to its default state.
–
Matt1713Apr 13 '12 at 15:25