Output the correnct order