[mysql]: added support for ordering many-to-many link selects