sort now working
adjusted SORT_BLOCK_SIZE
removed cpu option form sort
added tests for sort command
fixed outer var shadowing variables
Merge branch 'sort' into develop