add portability variable for gnu sort and add coreutils to requirements