sort the bulk exit output