Complete the `reorder` replacement