You should talk with your advisor about the order of the authorship as soon as possible.