I've sorted it by using Google Sheet, but its gonna takes a long time, so I figured it out, to settle it down by awk.
input.txt
Column 1
2
2
2
4
4
Column 2
562
564
119
215
12
Range
13455,13457
13161
11409
13285,13277-13269
11409
I've tried this script, so it's gonna rearrange the value.
awk '/Column 1/' RS= input.txt
(as referred in How can I set the grep after context to be "until the next blank line"?)
But it seems, it's only gonna take one matched line
It should be sorted by respective lines.
Result:
562Value2@13455
562Value2@13457
564Value2@13161
119Value2@11409
215Value4@13285
215Value4@13277-13269
12Value4@11409
it should be something like that, the "comma" will be repeating the value from Column 1
and Column 2
etc:
Range :
13455,13457
Result :
562Value2@13455
562Value2@13457