i'm new to powershell so any help is much appreciated.
I have an list of strings (filenames) and they start with a number eg. "1. first file", "2. second file" ... "21. twenty-first file".
and I want to sort it in the order of the starting number. But when I do "$List | sort {$_.Name} -Unique" it will start with "1. " and then the next item is "11." instead of "2."
Please help.