Depends, ideally, the sooner the audience knows how things work the better, but you got to consider things like pacing, in the first chapter you will have to introduce a lot, so you will have to decide which is more important.
I would give preference to the characters introduction, but you may find it more important to get the worldbuilding out of the way.