sorting mouse-over events for line graphs