VectorOptimizer: added SMALLEST_FIRST sorting

paths are sorted by size of bounding box. Smaller paths are cut before bigger paths.