Sort MetaFilter Comments

Adds a Sort by Favorites button. Also keeps the anchor tags in the right place, and allows restoring the original sort order.

Author
Tehhund
Daily installs
0
Total installs
8
Ratings
0 0 0
Version
14
Created
Updated
License
N/A
Applies to

Author's Description

This adds a "Sort by Favorites" button to the sidebar (near the bottom on mobile). Once sorted, the button changes to "Restore original order." This sort maintains the position of the anchor elements so clicking a comment's timestamp still works.