change demo sorting strategy
avoid connection between stations with same main-station.
fixbug