fixed sorting on languages, was not working on all tables.

Change-Id: I78cd40ba9a45ceddec0cc4032340e1a78184b26d
Merge "fixed sorting on languages, was not working on all tables."