Correct orthographic error
Add sort type by distance
Test for search of nearest neighbors added