I have a shapefile with lots of overlapping polygons made out of buffering street lines. I need to clip them so that the overlapping part goes to only one feature and gets excluded from the other, which I found I can accomplish with the Clipper plugin, as the image shows:

However, with that extension I would have to select one feature at a time and click on the 'Clipper' plugin button. Is there any way I can create a script or some sort of action so that QGIS runs this automatically (select one feature, 'clip', select next feature, 'clip' and so on)? If so, could it select the features in a specified order, such as, according to the values in my 'length' column (from highest to lowest)?
If there's no way to do it, any ideas on how to accomplish clipping all these overlaps (thousands of polygons)?