From 101b04675381ea08e7a48470e0fe7639967ed66b Mon Sep 17 00:00:00 2001 From: Bogdan Date: Wed, 17 Jul 2024 20:31:56 +0300 Subject: [PATCH] Fix custom formats sorting for quality profiles --- .../src/Settings/Profiles/Quality/QualityProfileFormatItems.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Settings/Profiles/Quality/QualityProfileFormatItems.js b/frontend/src/Settings/Profiles/Quality/QualityProfileFormatItems.js index 61cbefba1..3a204665b 100644 --- a/frontend/src/Settings/Profiles/Quality/QualityProfileFormatItems.js +++ b/frontend/src/Settings/Profiles/Quality/QualityProfileFormatItems.js @@ -21,7 +21,7 @@ function calcOrder(profileFormatItems) { return b.score - a.score; } - return a.localeCompare(b.name, undefined, { numeric: true }); + return a.name.localeCompare(b.name, undefined, { numeric: true }); }).map((x) => items[x.format]); }