|
how to 'sort' by file extension then alphabetical order
Hi helpful people, i have a text file that lists hundreds of files, one per line. e.g:
ccc.avi
bbb.doc
bbb.avi
bbb.mp3
ccc.doc
aaa.mp3
How can i sort this file, firstly by extension type, and for each group of matching extensions, into alphabetical order? e.g:
bbb.avi
ccc.avi
bbb.doc
ccc.doc
aaa.mp3
bbb.mp3
cheers :-)
|