contao/core — pull request #3865 by tristanlins (2012-01-27 16:55:25+00:00)
Title: DC_Table listview mode3 sorting

The sorting of the children table get crashed by array_multisort. In my scenario the child table is sorted by pid and id after the array_multisort was applied. As far as i understand array_multisort, we are unable to forecast the sorting of elements with the same group! (or we have to add every child table sorting field to the sort array)
I rewrite the sorting to use INNER JOIN, the sorting is now done by the database and should improve the performance a little bit because there is only 1 Query and before there are 1 + n queries for n rows.