sort works, working on search