I started with to_set.classify and have the find function grouping by
day. I then did a group_by function to the same effect both in the
model and the view.
They both work wonderfully except I need to pull the full date from it
not just the number of the day.
The second repeat is hobo dryml but it should make sense.
The controller call sorts every return. The model's definition was
key. I had to find all by day using the strftime function but needed
more info than just the day number. I put month, day, day full name.
That was tough to sort because you trade in the datetime class for a
string, I added year then day of the year so the records would come
back in order. The view I pulled the substrings using regex matches.
(http://txt2re.com/)
I hope this helps. Let me know if you have any questions, I'll see
what I can do.