Writing out of order may require more familiarity with the plot so that everything makes sense from start to finish. At the same time, it may help you think out the details when you cannot decide what to do with your story. Writing a good ending while you think of about the rest of your story will help structure it.