diff --git a/pom.xml b/pom.xml
index 48e94c11de..522e440efb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -456,7 +456,7 @@
sonia.scm.maven
smp-maven-plugin
- 1.0.0-rc3
+ 1.0.0-rc4
@@ -856,8 +856,8 @@
26.0-jre
- 10.16.0
- 1.16.0
+ 12.16.1
+ 1.22.0
8
diff --git a/scm-ui/ui-components/src/comparators.ts b/scm-ui/ui-components/src/comparators.ts
index e4d661c2fd..68ae3d0734 100644
--- a/scm-ui/ui-components/src/comparators.ts
+++ b/scm-ui/ui-components/src/comparators.ts
@@ -15,7 +15,7 @@ export const byKey = (key: string) => {
}
if (isUndefined(b, key)) {
- return 0;
+ return -1;
}
if (a[key] < b[key]) {
@@ -35,7 +35,7 @@ export const byValueLength = (key: string) => {
}
if (isUndefined(b, key)) {
- return 0;
+ return -1;
}
if (a[key].length < b[key].length) {
@@ -55,7 +55,7 @@ export const byNestedKeys = (key: string, nestedKey: string) => {
}
if (isUndefined(b, key, nestedKey)) {
- return 0;
+ return -1;
}
if (a[key][nestedKey] < b[key][nestedKey]) {