nbtCompoundSortKeys - SpyglassMC/Spyglass GitHub Wiki
🔧 Fixable: violations of this rule can be fixed by Code Actions.
Whether to sort keys in NBT compounds or not.
- ("alphabetically"): sorted alphabetically, case-insensitively.
- ("nbtdoc"): sorted as the same order in nbtdocs. Well, this option hasn't been finished yet.
{
    "nbtCompoundSortKeys": null
}summon minecraft:armor_stand ~ ~ ~ {Glowing: 1b, Invisible: 1b}
summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b, Glowing: 1b}{
    "nbtCompoundSortKeys": ["warning", "alphabetically"]
}summon minecraft:armor_stand ~ ~ ~ {Glowing: 1b, Invisible: 1b}summon minecraft:armor_stand ~ ~ ~ {Invisible: 1b, Glowing: 1b}This rule was introduced in DHP 2.0.0.