• Is it possible to construct a string to order by 2 different keys?

    For example, I have a custom post type that I can order by title and by priority (ranked 0-5). I would like to first sort the results by rank in dsc order, then for them to be sorted by title.

    5 – A post
    5 – A second post
    4 – A post
    4 – A second post
    4 – A third post
    3 – A post
    2 – A post
    2 – A second post

  • The topic ‘Mutliple Order By’ is closed to new replies.