Changes made to my order algorithm and performance improved.