Sort non finalised accounts by creation date

Correct table sorting to occur by dateCreated of the associated account.

In addition fixes a type where dateCreated referenced the group object and not the account.