Sorting list of participants by ticket id.