sort also has -u, so there's two unnecessary pipes. The whole thing could be written:
grep lasagna beef.txt | sort -u
Some people add extra pipes and cat for what they claim is readability. I don't agree that cat and extra pipes is more readable, but to each their own.
What's wrong with
> grep "lasagna" beef.txt
?