Added sorting and ignoring .git and .gitignore in fss.py