Reordering method implementation.