Add example algorithm for order dependencies