Bugfix: ManyManyList not sortable by sort() through a JOINED table

Sorting at line 148 does not work in a many_many relationship, resulting in an undefined behaviour. Sometimes it works, other it doesn't.