Added sort and high level interface to BLAS.