channel_folders: Sort get_channel_folders by order.

This commit is contained in:
Tim Abbott
2025-08-08 16:43:17 -07:00
parent e7d9a8954c
commit 40118c9a7c

View File

@@ -42,7 +42,7 @@ export function get_channel_folders(include_archived = false): ChannelFolder[] {
} }
return true; return true;
}); }).sort((folder_a, folder_b) => folder_a.order - folder_b.order);
} }
/* TODO/channel-folders: Remove when tests are restored */ /* TODO/channel-folders: Remove when tests are restored */