Added first method for sorting tracks