Made it so interchange sorts use minloc

Using minloc should increase the speed of interchange sort.  The idea
for this was taken from fortran-utils, that can be found at
https://github.com/certik/fortran-utils.