There is a way to sort items ?

I'm indexing different data in my application with same information.

By example, recent searches and bought items which have in common the same object.

How can I order searchable items to have bought items returned before recent searches ?


Thanks