always finds needle
cannot find needle with generate
still broke
bug in sort fixed