moving sorting out of main imgproc function to getBoundingRects function
moving sorting out of main imgproc function to getBoundingRects function

erhs-robotics/Robo2013,erhs-robotics/Robo2013,erhs-robotics/Robo2013