How to get all results rather than 10 and how to sort?

It returns 10 results by default. How to get :all results? There was
mention of changing +:all+ some but I dont know where exactly.

And how to sort? I want it sort it ‘time DESC’ fashion.

I am using .find_by_contents("*") thing.

Thanks