spree/spree — pull request #5541 by mehanoid (2014-10-29 11:08:47+00:00)
Title: Fix payments ordering when choose payment for risk analysis

Spree::Payment has ordering by created_at by default.
When displaying order risk analysis Spree tries to select last payment for order and uses ordering payments by "created_at DESC" and then select first record, but it does not work. So we need either to use reorder or to rely on default ordering.