Bugfix: sorting items when displayed as search result