Really fix a bug that sort in similar search

[groonga-dev,02754]

Reported by warp kawada. Thanks!!!