I need to select some lines inside of a list of file names to bring them at the end of the list.
Suppose I have Files.txt with this list:
filename1.aaa
filename1.bbb
filename1.ccc
filename2.aaa
filename2.bbb
filename2.ccc
filename3.aaa
filename3.bbb
filename3.ccc
I want to select all the lines where the file extension is ccc
and then be able to CTRL-X and CTRL-V to put them on the bottom of the list.
So the result have to be like this:
filename1.aaa
filename1.bbb
filename2.aaa
filename2.bbb
filename3.aaa
filename3.bbb
filename1.ccc
filename2.ccc
filename3.ccc
Is it possible?