Allow method chaining on MessageBag->setFormat. Closes #1580.
Merge branch '4.0'
added array_sort helper that is short-cut into collection sortBy.
Merge branch '4.0'