Ordering posts by tag name alphabetically using Javascript Client

How would you write a post query if you would like posts to be ordered by the tag name?

{order: 'primary_tag.slug DESC'} does not seem to be working.

Is there an alternative way of achieving this?