Added pruning and fixed a bug which was caused by partial sort instead of sort
Added pruning and fixed a bug which was caused by partial sort instead of sort

joachimwolff/minHashNearestNeighbors,joachimwolff/minHashNearestNeighbors,joachimwolff/minHashNearestNeighbors