Sorting by Date Is Also an Algorithm

4 Feb 2023

It's a common refrain in tech circles when discussing Twitter to talk about "The Algorithm". Take this Lifewire article: "How to Turn off the Twitter Timeline Algorithm", or this one by TechCrunch: "Twitter makes algorithmic timeline default on iOS".

In the beginning the Twitter timeline was a simple list of posts by people you follow sorted by date descending. In 2013 Twitter introduced a new timeline that wasn't so transparent. It was seemingly designed to optimise for engagement. All of a sudden, people were seeing posts from people they didn't follow, or that were posted days ago and for some reason had been boosted by the algorithm.

The point is, both the classic timeline and the "algorithmic" timeline are both in fact algorithmic. In fact, the first algorithm taught in computer science is often the Bubble Sort algorithm. It's still an algorithm! In the case of Twitter, or its upcoming rival Mastodon, sorting by date may be a preferable, but there are possibly downsides too. Prioritising something because it happens to have been posted recently is a form of Recency bias after all. The key seems to be transparency.

So enjoy your favourite algorithm, and remember, they're not all bad.