New sort HOORAY, also fixed mistake in compare-func
test mode changed back