Fixed language sorting in selector.