sorting for ticket class added