Add TwistAndFoldSort