fix the sort by filename button.
Merge pull request #204 from nla/fix_sorting

fix the sort by filename button.