Fix FinderMethods#last and #first default order.

Addresses #11917 ( #last(N) fails with joins on sqlite )
and #11774 ( unordered #first makes has_one association fragile /
dependent on order of records returned by database )