The Ticket IDs are assigned in a chronological order depending on the time when those tickets were created. You would have an option to set a specific order under Admin -> Helpdesk saying that you would like the Ticket IDs to start with a certain number.