A few adjustments to the move ordering log. Now it is ok.
Next step is to complete che SQL check, and to verify if the move executed is in line with the ordering (I guess it is not).