XWIKI-11077: Livetable sorting and filtering not working for columns from other classes

(cherry picked from commit 9df51348dc53881cc7d558628c82d35a61201054)