in reply to Re: Re: Exceptional sorting
in thread Exceptional sorting

I believe that you can't get the topology of the train tracks and stations from the data you supply. You have the presented following table :

Station aStation bStation c
Train 01230????1245
Train 1124412451255
Train 2124500000000
Train 3124712481250

and you want to read from that table the following train track layout:

Station a Station b Station c --[]------->-------[]------>------[]--- \ (Train 0,1,2) / \ / \-------->---------/ (Train 3)

If that's what you want, it will be impossible, so you have to show much more of the implicit external knowledge about when one train overtakes another train and other rules which you don't mention.