Merge "(bug 39296) Fix broken table sorting"