@@ -32,6 +32,7 @@
</trim>
GROUP BY tpvr.person_id, tpvr.event
+ ORDER BY tpvr.visit_time ASC
</select>
</mapper>