searchSort and unit tests

unit tests were all broken now it's only the search by ingredient, also
last commit reverted searchsort to what it was previously, changed it
back