diff --git a/scripts/system/html/js/entityList.js b/scripts/system/html/js/entityList.js
index f059b91e81..b19873a049 100644
--- a/scripts/system/html/js/entityList.js
+++ b/scripts/system/html/js/entityList.js
@@ -681,6 +681,9 @@ function loaded() {
if (isNullOrEmpty(valueB)) {
return (isDefaultSort ? -1 : 1) * (isAscendingSort ? 1 : -1);
}
+ if (typeof(valueA) === "string") {
+ return valueA.localeCompare(valueB);
+ }
return valueA < valueB ? -1 : 1;
});
});