Posted October 05, 2018
It should be possible to create that relatively easily.
As there already is "oldest to newest" and "newest to oldest" sorting, the same mechanisms can be used to sort by any other data, like prices or discounts.
GOG database is actually quite small, as there's only few thousand titles. It's not like they would need to index Amazon or something.
To optimise the whole thing, it would be best to create web page templates which are updated every time something in the database is updated, which happens every day, but still very seldom from computer's point of view.
All user-queries would then simply load these pre-created page templates, causing absolutely no additional stress to the database.
As there already is "oldest to newest" and "newest to oldest" sorting, the same mechanisms can be used to sort by any other data, like prices or discounts.
GOG database is actually quite small, as there's only few thousand titles. It's not like they would need to index Amazon or something.
To optimise the whole thing, it would be best to create web page templates which are updated every time something in the database is updated, which happens every day, but still very seldom from computer's point of view.
All user-queries would then simply load these pre-created page templates, causing absolutely no additional stress to the database.