trace-cmd: Move merge sort of reading records into library

The merge sort of reading the record timestamps and ording the
records by time, regardless of CPU, has been moved from the
trace-cmd.c file into the libtracecmd library code trace-input.c.

Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
3 files changed