sort styles alphabetically with optional case sensitivity
Allow the option to toggle case sensitivity on/off when sorting styles alphabetically, so that one can use case sensitivy to namespace styles.
For documents with a long list of styles, I namespace them so that styles used accross the document are sorted first, then those specific to a section, then those specific to an element of a section, like so:
_body
INTRO _body
INTRO BOX _body
I name sections and subsections in upper case to easily distinguish, but it actually is the prefix "_" that gets sorting to lay the hierarchy.
It would be nice to just resort on case (with lower case coming before upper case) and not having to resort on extraneous prefixes to have general styles come before specific ones, specially in an environment where not everybody in the team might be that consistent, remember to having to do so, or even understand what the prefix does and why it is necessary.