code: def sort_window_ids(winid_list, order='mru'):
          import utool as ut
          winid_order = XCtrl.sorted_window_ids(order)
          sorted_win_ids = ut.isect(winid_order, winid_list)
          return sorted_win_ids