allow w and e flags together
issue #21306: order modules consistently
Merge pull request #793 from shackbarth/21306

issue #21306: order modules consistently