commands: plumb sort command into generic command bar

The goal for this is to lose the per-editor command bar and move to a
global command bar at the bottom. The commands will determine the active
editor tab with workbench.get_active_workspace().get_active_tab().