Rules that hold for every inputadvanced
Some bugs no example reaches: a sort that quietly reorders the caller’s own array is correct in everything it returns, and only a rule like "the input is untouched" can catch it.
Some bugs no example finds. Assert the properties that must always hold.
Your suite passes a correct sortByPrice and fails four that each break one invariant.
Published in full, before you start — every point is one of these and there is nothing else. Each one runs your code; it is not a search for keywords.
Some bugs no example reaches: a sort that quietly reorders the caller’s own array is correct in everything it returns, and only a rule like "the input is untouched" can catch it.