Sort the indices while pretty-printing a trace