Process profiles first.

Since each category is single-threaded, starting the longest one first
minimizes idle cpu time.