Compare revision numbers, not filename positions
Compare declared revision integers separately from filename position.
The last filename in a sorted list is not necessarily the higher revision. If one series uses increasing integer revisions, compare that component separately from character position and approval status.
What to do
- Confirm that both names belong to one series with an established integer revision scheme.
- Extract and compare the integers while checking the stated character ordering.
- Record the higher revision, then determine separately which revision is approved for use.
Example
Fictionally, memo-v2.txt and memo-v10.txt use a declared increasing-integer scheme. The specified character order is memo-v10.txt, then memo-v2.txt; the last row is not newer. Since 2<10, memo-v10.txt has the higher revision. This applies only to this pair and scheme. Approval of v10 is unchecked; other programs’ ordering is not assumed.
My Day · Windows
Save this note manually in My Day.