Jacob names Joseph’s two sons, and he names them in the order in which he is going to bless them – Ephraim is first, and Manasseh second. Joseph may have heard this and assumed his father had forgotten which was the firstborn, but there are no mistakes here.