I have a mutablelist of items. One of the items properties is a date value. They are currently sorted by said date value. I want to insert separator items in-between the items that have different days. What's an idiomatic way to iterate through the mutablelist list and compare the current item and the next item to see if I should insert a separator?