An extension of Eloquent ORM for automatically ordering results