I am trying to order a list of Users by the date of their last entry. order('postDate desc') works for entries of course, but I can't find a way to order the Users of those posts based on their latest post date. This is the code I am using now which orders the User by the date their account was created.
{# Grab all the Design Entries #}
{% set allDesigns = craft.entries.section('designs').limit(null).find() %}
{# Group by the authorId #}
{% set allDesignsByAuthorId = allDesigns|group('authorId') %}
{# Grab all of the users with the userIds in allDesignsByAuthorId #}
{% set designers = craft.users.group('designers').id(allDesignsByAuthorId|keys).order('dateCreated desc') %}
Thank you in advance for any help you can give!