finish saving the sorted result after putting into the trained network