mia-labelsort: 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/mia-labelsort - from package: mia-tools

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