MV Skills sorted by MP cost

Hello,
my skill database is a bit messy, and I would like to display actor skills during combat sorted by their MP cost. This way, players can see skills starting from the lowest MP cost, gradually increasing.
Can I rearrange the skills without modifying the database? Do you think I need a plugin, or can I manage it without one? Thanks in advance!
You'll need a plugin~

I've moved this thread to Plugin Requests (from MV Support). Thank you.

Maybe something like this (untested):
Spoiler: plugin code
JavaScript:
/*:
 * @target MV
 * @plugindesc Sort battle skills ascending by MP cost.
 * @author Caethyril
 * @url https://forums.rpgmakerweb.com/threads/164871/
 * @help Free to use and/or modify for any project, no credit required.
 */
;void (function(alias) {
'use strict';
  Window_BattleSkill.prototype.makeItemList = function() {
    alias.apply(this, arguments);
    const user = this._actor;
    this._data.sort(function(a, b) {
      return user.skillMpCost(a) - user.skillMpCost(b);
    });
  };
})(Window_BattleSkill.prototype.makeItemList);
If that works and you also want it to affect the skill list outside of battle, you can try replacing both instances of Window_BattleSkill with Window_SkillList.

This should help. You'l, have to do it manually, though.
caethyril has you sorted (pun intended) here, but thanks for the thought - I'll add this option to my Sort plugin.

Edit: added!
Wow, thank you, you've been really quick!

@ATT_Turan , can I ask if your plugins can be used in commercial projects? If yes, under what name can I credit you? 🙂
All of my terms are already written in the post @TRIDIUM linked you to.

Original thread: https://forums.rpgmakerweb.com/threads/skills-sorted-by-mp-cost.164871/