I want to group by "name" for my nested field. and sort by "submitDate" for each group, then get the latest one record document contents. It that possibl