Order by ‘s’ using WP_Query()
You can use Relevanssi plugin, Relevanssi replaces the default search with a partial-match search that sorts results by relevance. It also indexes comments and shortcode content. https://wordpress.org/plugins/relevanssi/ Search results sorted in the order of relevance, not by date.