Sorting Dataview groups

Following the solution give on this forum thread, I managed to sort the groups by using AS before a second SORT operation:

LIST rows.file.link
SORT file.mtime DESC
LIMIT 25
GROUP BY dateformat(file.mtime, "yyyy-MM-dd") AS Date
SORT Date DESC

However, I can’t use the DDDD date format anymore (otherwise all “Mondays” appear before all “Wednesdays”, sorted alphabetically).

Is there a way to sort the groups by one date format (yyyy-MM-dd) while dislplaying the group names as another (DDDD)?

Thanks.