Sorting Sheet Revision by Date

Hey everyone,
I’m having difficulty with trying to organise my Revision list to export to excel.
I should add I’m also not great with dynamo and don’t really understand what I’m doing. I’ve been on the forum for awhile searching n trying different methods to sort. So thought I’d ask and get some fresh eyes on my problem.
I’m trying to make an Excel document that shows every revision on a drawing and sorted by the date. Below is currently what I’m getting from my script.

What I want to happen is the revision would be located under the date it was issued for that revision.
image

I just don’t really know how to go about making a list that’s going to insert null values where a drawing wasn’t issued.
If anyone could point me in the right direction or show me what needs to done that would be great. I’ve been stuck on this part for ages and my brain is fried…

I think you can somehow combine these two nodes to get the desired outcome:

I’m not sure which node to use to get the results, I would use the python node and add code to to the following:

Loop the list from “List.Contain” node.
If true, get the first record from the list “List.Flatten” node
If false, insert a blank.

But quite possibly there are some dynamo nodes that will do just this for you.