Bugfix in sorting posts.
Improvements on language detection.