Say I've got a string like this:

"{{3.1, 1.3, 2.5, 2.1}, {2.1, 3.1, 2.4, 2.2}, {1.4, 2.2, 2.1, 4.2}}"

- imagine it's aspiring to be a list of sublists, with 4 reals in  
each list. I want to produce a sorted version:

(1.4    2.2    2.1    4.2)
(2.1    3.14  2.4    2.2)
(3.1    1.3    2.5    2.1)

What would be a good way to do this?

thanks

Pete