Reply To: Sort the results

The sorting is after the page order of the resources post that you can change in the post view.
As of the code the price get’s calculated in the loop so it you’d need to change that and let it calculate and re-order before. The file is /lib/modules/search/search.php
Regards