Update sort.h

Problems with grail_sort and sqrt_sort fixed