Organize/Sort Inventory

hi I'm new to the forums, I've been working on a game in RPG Maker 2000 and wanted to incorporate a simple sorting system for the inventory, a lot like final fantasy. or even just alphabetically sorting would be fine too. could anyone help me with figuring this out?
Unfortunately, the default item system doesn't allow for that.

Do note that items are auto-sorted by default based on their number in the database ; items with lower numbers will always appear higher in the player's inventory over those with higher numbers.

Of course, this won't help if you want multiple sorting methods but if you're looking for a way to have items not appear in a chaotic manner in your game, well, now you know how the engine handle it.
thank you very much, that really helps 🙂

Original thread: https://forums.rpgmakerweb.com/threads/organize-sort-inventory.90583/