Enumerating two different arrays into a single HTML table by common field

Greetings,

I have a table I'm trying to render using two different data sets. 1 is an array of Day objects. The other is an array of Payment objects. I'd like them to show up in the same HTML table and be sorted by the created_at field that both database tables have.

Anyone have any suggestions for accomplishing this?

Thanks!