Fixes #982

Sorting preference is not taken into account when getting content by taxonomy
Merge pull request #999 from flrvt/hotfixes

Fixes #982