How to sort strings that contain a common prefix and suffix numerically from Bash?

Use ls -lv

From the man page:

-v     natural sort of (version) numbers within text

Leave a Comment