Orders window ids by most recently used

def sort_window_ids(winid_list, order='mru'):
        """
        Orders window ids by most recently used
        """
        import utool as ut
        winid_order = XCtrl.sorted_window_ids(order)
        sorted_win_ids = ut.isect(winid_order, winid_list)
        return sorted_win_ids