Update sort.h

Problems with grail_sort and sqrt_sort fixed
Merge pull request #20 from Mrrl/patch-1

Update sort.h