fn apply_tab_reordered( wstore: &Store, workspace_id: &str, tab_id: &str, new_index: u32, ) -> Result<(), Box<dyn Error>>