Adds failure reordering.