nguyenpham / ocgdb

Open Chess Game Database Standard (OCGDB)
MIT License
31 stars 8 forks source link

Request to sort a database. #25

Open Jonathan003 opened 2 years ago

Jonathan003 commented 2 years ago

I would like an option to (smart), sort the games of a database according dates, higher or lower rounds/boards . And to have a choice between ascending or descending.

nguyenpham commented 2 years ago

Sorting should be implemented with chess GUIs since that is visual, much easy and much faster because some development libraries have supported that feature and it could run in memory only.

The attached image show the game table with an OCGDB database, being sorted by Black. Users can click on the header of any column to sort by that column, one click is to sort ascending, another click - descending.

On my computer, a database of 3.45 million games could be sorted and shown almost instantly (about a second)

bsgdb