I have just recently created a bookmarklet to sort the news stories on the front page of HN.
There are a few minor issues that I have noticed but, should work for most parts.
When you click on the bookmarklet, two links get created at the top as shown in the screenshot below:
Clicking on ‘Comments’ will sort the posts by the number of comments that they have and Clicking on ‘Points’ will sort the stories by the number of points associated with the stories. Clicking on the links more than once will toggle the sort direction.
The code is available on GitHub(Do whatever you want license) here.
I have used jQuery and a cookie plugin as it saved me a lot of time.
So here is the link to the bookmarklet: HN Sorter