Need help in the sql function

Hi, I have the column which return the string as below:

I need to have the above string converted to:

Just in case a value other than the first one might already have a dash in front of it, you can do this:

select replace(replace(string, ',-', ','), ',', ',-')