How search results are sorted and what attributes can I use to sort the results?

The search results are sorted by relevance, and the item with the highest relevance is displayed at the top. The relevance score is determined by the application. There are no other sorting mechanisms to sort the results.