Sort and delete intermediary fixes

Sort LOCALE set to POSIX to match CompleteSearch. Sort path prefix removed, so will now use $PATH to find sort. Now always removes a soft link before recreating it, regardless of delete_intermediary value.