minor change to how output is saved & ordered

Signed-off-by: Skaught Bowden <skaught.bowden@gmail.com>