Create TwoWaysSorting