Sort logs from ran commands

A complete process can be tied to multiple commands that output 2-3 logs each,