Whenever a person's filmography is displayed, the order of the categories is
based on the number of credits in each one.
For example if someone has two credits as director, five credits as cinematographer and one as producer, his/her listing will display the cinematographer credits first, then the directing credits and finally the producing one.
Because episode credits are also factored in, it may appear like a smaller category is listed first. Double check that the person is listed on the exact episodes of a television show that they worked on, in order to ensure the correct ordering.
"Himself/Herself" credits are an exception to the above rule: due to page formatting/display requirements they always appear as the last category on the page, regardless of the number of entries.
Within a category, credits are shown in reverse chronological order, based on release date.
However, if a title hasn't been released yet, in addition to the proposed (future) release date, we use the production status.
This order isn't meant to imply anything about the relative importance of the various credits. It's just a technical convention. This is a software-dictated function which applies to all filmographies in the IMDb and cannot be changed.