Ordering By Relationships
getInstance( "Post" ).orderBy( "author.name" );getInstance( "Post" ).orderBy( "author.team.name" );getInstance( "Post" ).orderByRelated( "author.team", "name" );
// or
getInstance( "Post" ).orderByRelated( [ "author", "team" ], "name" );Last updated
Was this helpful?