Fixing custom function dependency bug in found set demo

Bug reported by Bruce Robertson where the sort script was reporting
that required parameters were missing (error 10) because the custom
function used to generate those parameters had been removed.