Fix Order of GitHub Dashboard

prantlf
2024-12-07T22:21:17Z

Keeps entries on the GitHub dashboard page ordered from the newest one to the oldest one, but the More button may not always appear.

GitHub dashboard sorts well again. I'll keep the script here, in case it becomes helpful to somebody.

Original description:

A crude script fixing the bug in sorting entries on the GitHub dashboard, which started to appear from the oldest one at the top to the newest one at the bottom, unlike the other way, as it worked earlier: https://github.com/orgs/community/discussions/146450

* Works whenever the activity feed gets updated
* The More button may not always appear, unfortunately
* Puts the recommended entries at first than the entries, which contain a time
* Tightly coupled to the current structure of the dashboard page