subway train is sorted