Make sort of tags, lists and filters a setting

Sorting is an UI concern so it should not be a parameter to core data
structures.
Merge branch 'issue121' fixes #121