Write Ticket#position for checking the position of a ticket after sorting