code: def check_and_order_id_inputs(rid, ridx, cid, cidx, row_meta_df, col_meta_df):
      
      (row_type, row_ids) = check_id_idx_exclusivity(rid, ridx)
      (col_type, col_ids) = check_id_idx_exclusivity(cid, cidx)
  
      row_ids = check_and_convert_ids(row_type, row_ids, row_meta_df)
      ordered_ridx = get_ordered_idx(row_type, row_ids, row_meta_df)
  
      col_ids = check_and_convert_ids(col_type, col_ids, col_meta_df)
      ordered_cidx = get_ordered_idx(col_type, col_ids, col_meta_df)
      return (ordered_ridx, ordered_cidx)
docs: Makes sure that (if entered) id inputs entered are of one type (string id or index)
      Input:
          - rid (list or None): if not None, a list of rids
          - ridx (list or None): if not None, a list of indexes
          - cid (list or None): if not None, a list of cids
          - cidx (list or None): if not None, a list of indexes
      Output:
          - a tuple of the ordered ridx and cidx