Previous question: Split comma separated values into target table with fixed number of columns
Example:
a1, b1, c1
a2, b2, c2, d2, e2, f2
a3, b3, c3, d3, e3, f3, g3, h3, i3, j3
a4
a5, b5, c5
'
'
'
Output I got with help of this answer: https://stackoverflow.com/a/66291540/3984221:
c1 c2 c3 c4 c5
---------------
a1 b1 c1
a2 b2 c2 d2 e2
f2
a3 b3 c3 d3 e3
f3 g3 h3 i3 j3
a4
a5 b5 c5
'
'
'
As you can see, output columns are filled from left to right.
Expected output is filling the output from right to left:
c1 c2 c3 c4 c5
------------------
c1 b1 a1