sort visits in VisitCollection