Is there any way to sort the search result by name?

Is there any way to sort the search result by name?

Suppose I have one product name as custom engine. When I search in the search bar, only the custom engine product should come.

Can I do it through front-end or back-end? Please help me guys.