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.

ئاپتورى
Tehhund
بۈگۈن قاچىلانغىنى
0
جەمئىي قاچىلانغىنى
39
باھا نومۇرى
0 0 0
نەشرى
18
قۇرۇلغان ۋاقتى
2020-01-17
يېڭىلانغان ۋاقتى
2024-09-25
Size
12.6 KB
ئىجازەتنامىسى
يوق
قوللايدىغىنى

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.