sort incoming data
program name instead of type