diff --git a/interactionHandlers/commands/manage.js b/interactionHandlers/commands/manage.js index d9f3995..508641d 100644 --- a/interactionHandlers/commands/manage.js +++ b/interactionHandlers/commands/manage.js @@ -127,6 +127,7 @@ module.exports.execute = async (interaction) => { await interaction.editReply({ content: 'No orphaned extensions found!', ephemeral: true }); return; } + orphans.sort((a, b) => Number(a.id) - Number(b.id)); const orphanList = orphans.map(o => `**Extension:** \`${o.id}\` - **Name:** \`${o.description}\``).join('\n'); await interaction.editReply({ content: `**Orphaned Extensions:**\n${orphanList}`,