Why this should be sorted as A I don't know

Line name
English
Towards
Following station
Following station
Towards
SZM End of line {{{Station}}} End of line
End of line {{{Station}}} End of line
End of line {{{Station}}} End of line