Is it possible to perform a search and have the results grouped/prioritized by sections?
e.g. something like:
craft.entries.section(['sec3', 'sec5', 'sec1']).search(...).limit(6) as page_info, page_entries
I want sec3
entries first, followed by sec5
and sec1
entries.
Note that I want to use the built-in pagination mechanism and would not like to use hacks such as searching tons of entries and manually group the results by sections.