CoreData GroupBy and Sorting with different elements

I have a core data,

Entity:
Name Service Time

I am grouping this with the name

Now I am sorting this with the Time

Entity 1

  • name: A
  • Service: S
  • Time 1

Entity 2

  • name: A
  • Service: S2
  • Time 2

Entity 3

  • name: B
  • Service: S3
  • Time: 3

after grouping What will be the time and service for grouped entity of fire two?

Grouped Entity

  • name: A
  • Service: ????
  • Time: ????

Entity 3

  • name: B
  • Service: S3
  • Time: 3

Is there Any property in core data to specify this

CoreData GroupBy and Sorting with different elements
 
 
Q