Domain values

Hi there,

I was wondering whether it's possible to sort domain values? My idea was to write a kind of 'domain sorter' node which would allow to feed an R-plot (community nodes) with sorted levels for column type factor (in R) and then could be used to influence the order of plotted data (if it's not numerical).

Now, I've seen that the domain values come as 'Set' and I'm not sure if there is anything I can do get implement a kind of sorting... (it's long ago that I've developed with Java - sorry, if this seems to be a stupid question...).

Antje