Suggestion Display order in database

Display Order for Database Items
  • Currently, all database items are sorted by their ID only. This forces the user to having to:
    • decide upfront on the number of rows each category will be allocated, causing big chunks of blanks in the database
    • OR deal with having a mess of a database where common events are not in chronological order, pieces of equipment are not properly sorted by category, etc...
  • The current suggestion is to have an optional (i.e. can be left blank) additional field called "Display Order" in the General Settings of each and every database item. Any number of up to 8 digits (or maybe that is overkill so just 6) can be assigned.
  • The user will be able to right-click on the list of database items and choose "sort by display order". Items that have a "Display Order" configured will be listed in that order. If two or more items happens to have the same "Display Order", it will sort by "Display Order" first and by ID second.
  • Additionally, when a "Display Order" is configured, this will take precedence over the ID in deciding how things are sorted in-game.

Mockups:
1689813857466.png


Why is this feature good?
This feature is great because of the following:
  • This will prevent weirdness like early-game items that were added later in the development process, coming in last in the inventory (without having to resort to plug-ins).
  • It will allow users greater freedom in how to approach database design.

Possible issues with this feature?
Issues that might arise from this feature:
  • Probably minor but I guess... it's an additional layer of complexity that the beginning user has to deal with.
  • Might clash with existing plug-ins that facilitate display order

Original thread: https://forums.rpgmakerweb.com/threads/display-order-in-database.159413/