Create a view with multiple milestones. Codetree nicely shows each milestone separately. Notice that the milestone order is not the same as the priority order of milestones; in fact, it seems to be dependent on the order in which you click the checkboxes of each milestone when creating the view.
For example, this view

and this view

are different. They each show milestones in the order listed in the view.
When you go into Milestones, you notice that you can reorder the milestones. But this has no effect on the views. Nor does start date or end date of each milestone. Only the order which you added them to a view matters.
Ideally the milestones should follow the priority as set under Milestones:
