it was necessary to pass the thirteen amendment before the civil war amendments because the thirteen amendment abolished slavery in the united states so the southern states had been restored to the union and should have easily passed the congress.
hope this helps, God bless!