The DropDownButton and SplitButton exhibit the following accessibility issues:
This will make it easier to have a dynamic list of options whose order can be preserved.
Otherwise, you need to use conditional markup (which puts newly made visible items at the end), or a @foreach over a descriptor model.