code: public void moveRow(Object rowKey, int newRowIndex) {
          checkFrozen();
  
          this.checkRowIndex(newRowIndex);
  
          final int rowIndex = this.getRowIndex(rowKey);
          final List<R> tmp = new ArrayList<>(rowLength());
          tmp.addAll(_rowKeySet);
          tmp.add(newRowIndex, tmp.remove(rowIndex));
  
          _rowKeySet.clear();
          _rowKeySet.addAll(tmp);
  
          _rowKeyIndexMap = null;
  
          if (_initialized && _columnList.size() > 0) {
              for (List<E> column : _columnList) {
                  column.add(newRowIndex, column.remove(rowIndex));
              }
          }
      }
docs: Move the specified row to the new position.
  
  @param rowKey
  @param newRowIndex