Implement reordering