As far as imprecise journalism (let alone blatant inaccuracy goes) this is pretty inoffensive IMHO.
It’s not even that far off. Algorithms can be composed. When we publish a paper on a complete ML application, the whole thing is generally referred to as “the algorithm” because it can be documented as precise set of steps from initial raw inputs to some kind of output. Just because there are literally thousands of applications of sorting and searching, matrix multiplies and what have you buried under the process doesn’t make it unclear what is being referred to.