sort output by creation time