in Defining a template, in subsection "add the sorting feature": <ocde>auto(name)
should be "auto(name)"
auto(name)