moved the sortStrategies() algorithm to TraversalStraegies.