Fixes #526

Added language check to folder ordering .
Merge pull request #527 from 7sharp9/526

Fixes #526