ihhub / fheroes2

fheroes2 is a recreation of Heroes of Might and Magic II game engine.
https://ihhub.github.io/fheroes2/
GNU General Public License v2.0
2.71k stars 376 forks source link

Allow sorting saved games list by date #4053

Open a1exsh opened 3 years ago

a1exsh commented 3 years ago

Preliminary checks

Describe the problem requiring a solution

Currently we only sort the list of saved games in the "Save Game" and "Load Game" dialogs by file name. Often it is useful to be able to sort by date (file timestamp) instead.

Describe the possible solution

Add clickable headers to the file list dialogs: Name and Date. Clicking on either of the headers should toggle sorting by that file attribute.

Additional info

No response

ihhub commented 3 years ago

For this feature we will need proper button sprites and animation.

LeHerosInconnu commented 1 year ago

Related issue: https://github.com/ihhub/fheroes2/issues/1211.