Merge "Revert "Fix the order in which profiled methods are dumped.""