Skip to content

Commit 57b90b0

Browse files
committed
fix: Sort Python attributes alphabetically by constant name
The Python generator was iterating over attributeFiles directly without sorting, while the JavaScript generator sorted by constant name. This caused attributes to appear out of alphabetical order when a file and directory with similar names coexisted (e.g., lcp.json and lcp/ directory). Fixed by adding the same sorting logic to the Python generator that was already present in the JavaScript generator, ensuring consistent alphabetical ordering across both generated outputs.
1 parent a0d1688 commit 57b90b0

2 files changed

Lines changed: 2674 additions & 1925 deletions

File tree

0 commit comments

Comments
 (0)