| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-01-12 20:41:03 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-01-12 20:41:03 UTC |
| parent | 57e4071ecea3ea1f870c8969ba47c4fb4645b1b0 |
| borogove/Caps.hx | +1 | -1 |
diff --git a/borogove/Caps.hx b/borogove/Caps.hx index 6b1ff29..121e66b 100644 --- a/borogove/Caps.hx +++ b/borogove/Caps.hx @@ -55,7 +55,7 @@ class Caps { // If we won't need to generate ver we don't actually need to sort features.sort((x, y) -> x == y ? 0 : (x < y ? -1 : 1)); identities.sort((x, y) -> x.ver() == y.ver() ? 0 : (x.ver() < y.ver() ? -1 : 1)); - data.sort((x, y) -> Reflect.compare(x.field("FORM_TYPE")?.value, y.field("FORM_TYPE")?.value)); + data.sort((x, y) -> Reflect.compare((x.field("FORM_TYPE")?.value ?? []).join("\n"), (y.field("FORM_TYPE")?.value ?? []).join("\n"))); } this.node = node;