How do I sort by the numbers in the file name rather than by the letters?
E.g.
abc 126.mp4
jhgf 120.mp4
How do I sort by the numbers in the file name rather than by the letters?
-
Debugger
- Posts: 719
- Joined: Thu Jan 26, 2017 11:56 am
-
dedupeit
- Posts: 59
- Joined: Thu Jul 28, 2022 9:52 pm
Re: How do I sort by the numbers in the file name rather than by the letters?
I think you'll have to extract that and then sort by the extracted value.
Code: Select all
add-column:a a:=regex.extract(name:,"(\d+)\..*$")