TraceBuiltins[expr]Sort Options:
TraceBuiltins[Graphics3D[Tetrahedron[]]]
By default, the output is sorted by the name:
TraceBuiltins[Times[x, x]]
By default, the output is sorted by the number of calls of the builtin from highest to lowest:
TraceBuiltins[Times[x, x], SortBy->"count"]
You can have results ordered by name, or time.
Trace an expression and list the result by time from highest to lowest.
TraceBuiltins[Times[x, x], SortBy->"time"]