You need to present more context for anyone to be able to confidently answer the question, but Chris addressed it well. If you’re training ‘like a bodybuilder’, I don’t really believe the order matters much, but depending on how you deadlift, you should put it with either legs or back. I’m having trouble imagining a good training template that has a dedicated deadlift day AND a dedicated back day. That seems unusual.
Perhaps you could share a little more about your goals, and a bigger picture of what your training looks like, and we could give better advice.