I don't know if I understood what you meant
Create a blend between two colored objects. Expand the blend. Create color group out of selected objects
Ok... but i want do this with a function ... with one click ... easy!
I have 300 vector object 100 green, 100 yellow and 100 red and I want separate this vector in color with 3 level o group.
Sorry, I don't get the problem. You want to distribute them on layers, sorted by color?
Yes .. layer or group ...
If they are the same color, use select > same > stroke or fill color.
Then send to layer or group.
Otherwise you might try the magic wand and its fuzziness options.
that great ... this option go my work very speed.