Document sort_files

Closes #141