Sort files and folders

This fixes #85.