Sort files by name, and better documentation