Fixed search sorting. Now numbers are sorted correctly