reordering works correctly now