function for sorting contours of a Sudoku, top to botton and left to right? i am trying to get a sorting of the contours found in this image: