No it is not complicated because there is an order option on the view. If you go to your views edit page and scroll to "Ordering", you should be able to set the ordering option of your view here. See Screenshot.
I have a custom search that will be sorted first by rating and then by post date (second criteria)
But in the search form, users can choose to sort by rating or another field in the post.
That works quite smoothly, BUT:
When calling the search now, no sort criteria in the form is marked initially and I have to set the sorting by jquery, what results in some delay and confusion. So I would like to tell the search in that case how to sort results, maybe by url parameter?
If you look here you can see that the view has an orderby parameter. What i'm not sure is if this can accept a shortcode, however you can try doing the following.
Where myview is the slug of the view and my-url-param is the URL parameter of the view. This is where you can provide the custom field value in the URL prefixed by "field-" as per the documentation.