silverstripe/sapphire — pull request #138 by slindqvist (2011-12-18 03:31:18+00:00)
Title: Sort by relation on datalist

Datalist lacked the possibility to sort on relation names.

This patch fixes the DataQuery to be able to do that and also adds that functionality to DataList::sort()