Issue246: Order Dependencies

use example algorithm for testing