coresmart/persistencejs — pull request #154 by kodla (2014-07-09 16:25:02+00:00)
Title: Support for ordering with nested objects in SQL

Allows to use .order('parent.field') after .prefetch('parent'). Example from my project code:
ZCard.all().prefetch('brand').order('brand.name').forEach(function (card) {});