Bugfix: Some id`s get lost after the sorting. This was a mistake that the content of the id's are check only for the current language. Add the fallback language to the SQL.
Add a missing "GROUP BY" for the sorting function.
Merge branch 'origin/dev'