Added support for ordering by key and ascending descending

@jdoconnor || @darbyfrey
The ordering only works for active record relations. I guess I could have just ordered by the results in the array. But, column checkin is tricker if it isn't an active record relation