sort by time, group points, select city