Skip to content

Restore alphabetical sorting for sde generate --preprocess command #586

@chrispcampbell

Description

@chrispcampbell

A couple years ago in #55, I changed the sde generate --preprocess command so that it sorts definitions alphabetically.

In the recent changes to the preprocessor (in #575 where I removed the legacy preprocessor) I updated the sde generate --preprocess command to use the new preprocessor, which by default leaves the definitions in the original order.

I had forgotten about #55 though, so I think it would be fine to go back to the sorting behavior, which is only used in the case of the sde generate --preprocess command. Now that the preprocessor is run implicitly before parsing, that case can continue to not sort the definitions, since the sorting is an unnecessary step in that case.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions