Implemented search loading and sorting.
Fixed layout and trimming search results