Table S contains information on the account and table E contains multiple events for account. What I would like is that the field
S.S_route in order of the E.E_dtm. Two events following each other with the same E.E_stn are considered as one.