build_options.py: sort by category then label
This commit is contained in:
parent
d4a7ff1ccd
commit
6b3575f9b4
@ -226,4 +226,4 @@ BUILD_OPTIONS = [
|
||||
Feature('Payload', 'Camera', 'AP_CAMERA_ENABLED', 'Enable Camera Trigger support', 0, None),
|
||||
]
|
||||
|
||||
BUILD_OPTIONS.sort(key=lambda x: x.category)
|
||||
BUILD_OPTIONS.sort(key=lambda x: (x.category + x.label))
|
||||
|
Loading…
Reference in New Issue
Block a user