I have a table consisting of 5 integer ids, and would like to add a column which takes these ids, orders them and concatenates them in some fashion similar to below.
id1 id2 id3 id4 id5 new_col
364 53 468 184 469 /53/184/364/468/469/
48 47 49 364 266 /47/48/49/266/364/
Is there a function which will make performing the ordering quicker and easier? God forbid if I have to code up the ordering by hand.