text: public void setSheetOrder(String sheetname, int pos ) {int sheetNumber = getSheetIndex(sheetname);boundsheets.add(pos, boundsheets.remove(sheetNumber));int initialBspos = records.getBspos();int pos0 = initialBspos - (boundsheets.size() - 1);org.apache.poi.hssf.record.Record removed = records.get(pos0 + sheetNumber);records.remove(pos0 + sheetNumber);records.add(pos0 + pos, removed);records.setBspos(initialBspos);}