text: public void SetSheetOrder(String sheetname, int pos){int sheetNumber = GetSheetIndex(sheetname);BoundSheetRecord sheet = boundsheets[sheetNumber];boundsheets.RemoveAt(sheetNumber);boundsheets.Insert(pos, sheet);int pos0 = records.Bspos - (boundsheets.Count - 1);Record removed = records[(pos0 + sheetNumber)];records.Remove(pos0 + sheetNumber);records.Add(pos0 + pos, removed);}