server: Use gsort instead of BSD sort

Something goes wrong with BSD sort with amanda-3.3.