import buffer: write buffer after a number of buffered rows

to avoid too much memory usage
Ext4: add DragDropOrder controller that allows reordering rows