Sort by id too for when messages have same created_on.

--HG--
branch : ../sandbox/rails-4.1
extra : convert_revision : svn%3Ae93f8b46-1217-0410-a6f0-8f06a7374b81/sandbox/rails-4.1%4013319