tweaking _reorder.py
reordering