[Scenario] Fix comparator in TimelineView

Previously introduced sorting of nested Activities
in TimelineView to detect situations where they
overlapped. Comparator used for this sort included
a possible divide-by-zero; replaced by Math.signum
here.