Displaying latest unique record

Hi.
I need help.

I have a list of renewal information and I want to display the latest unique record per domain name.

I need the first record to be shown in my repeating group below.

I need the second record only as the second record is going to expire later.

Thank you so much :slight_smile:

Alvin.