Fixed bug in sorting of tickPosition, skips last tickMark (end lap timestamp)

Used the a inner comparator func. with identical name inside a function
-> fixed to separate names