Output in sorted order, fix Run_Time output