Adds sorts and updates layout of search.