We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a76f339 commit be72b99Copy full SHA for be72b99
packages/clients/dish/src/mapConfigurations/searchConfigParams.ts
@@ -29,12 +29,10 @@ const sortFeaturesByProperties = (
29
let comparison = 0
30
31
if (numericKeys.includes(key)) {
32
- // Numerische Sortierung
33
const numA = parseFloat(String(valueA)) || 0
34
const numB = parseFloat(String(valueB)) || 0
35
comparison = numA - numB
36
} else {
37
- // Alphabetische Sortierung
38
comparison = String(valueA).localeCompare(String(valueB))
39
}
40
0 commit comments