I have files named as follows:
X-1.pdf
X-2.pdf
X-3.pdf
.
.
.
X-15.pdf
When ordered based on string value, the sequence is as follows:
X-1.pdf
X-10.pdf
X-11.pdf
.
.
.
Assuming these files are stored in a string array, how would I order the array so that the files appear in the 'expected' manner ie
X-1.pdf
X-2.pdf
.
.
.