How to sort file names naturally

1. Problem

I recently wrote a tool gomdtoc to generate a Table of Contents for my notes directory. In order to sort the file names, I used the sort.Strings().


Kesa...大约 4 分钟golangsort