Reorder check function