Sorting ratings by date order.