sorterr: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/sorterr - from package: survex

You may install the required package with command apt-get install {package}
Error in other languages:
sorterr: bevel nie gevind nie
sorterr: comandă negăsită
sorterr: comando não encontrado
sorterr: commande introuvable
sorterr: command not found
sorterr: käsku ei ole
sorterr: không tìm thấy lệnh
sorterr: komanda nerasta
sorterr: Kommando nicht gefunden.
sorterr: kommandot finns inte
sorterr: komut yok
sorterr: nie znaleziono polecenia
sorterr: níor aimsíodh an t-ordú
sorterr: no se encontró la orden
sorterr: no s'ha trobat l'ordre
sorterr: opdracht niet gevonden
sorterr: parancs nem található
sorterr: perintah tidak ditemukan
sorterr: príkaz nenájdený
sorterr: příkaz nenalezen
sorterr: команда не найдена
sorterr: командата не е открита
sorterr: 命令找不到
sorterr: コマンドが見つかりません