I have a .txt file that i wanna sort that looks like this :
GENEBOI INC COM 15893X590 46,741 174,700 SH DFND 4,11 174,700 0 0
DCHATRA RESTAURATION GROUP INC N CL A 14771P827 2,659,074 5,213,461 SH DFND 4,8,11 5,213,461 0 0
FROLAKATZ CO COM 107393852 35,744 800,000 SH DFND 4 800,000 0 0
I want to sort every line where the second number in each line is the only important thing for the sort algorithm. I wanna sort them from the highest (e.g. 2,659,074) to the lowest(e.g. 35,744). The important part is that every line's content should not get edited or mixed up with other lines.
So the result should look like this:
DCHATRA RESTAURATION GROUP INC N CL A 14771P827 2,659,074 5,213,461 SH DFND 4,8,11 5,213,461 0 0
GENEBOI INC COM 15893X590 46,741 174,700 SH DFND 4,11 174,700 0 0
FROLAKATZ CO COM 107393852 35,744 800,000 SH DFND 4 800,000 0 0