Render-order as map attribute, respected in actual in-editor rendering

You're now indenting with tabs it seems, and the above `switch` statement is still indented in the wrong way. Would you still like to resolve these issues or shall I cherry-pick your change and amend it to fix the formatting?