add sorted command output