dont query the db on each reordering
Merge pull request #42 from bohnje/sort_by

dont query the db on each reordering