You can manage the ordering of items in your search type. If the tools are not enough to build the right query, you may consider purchasing some advanced plugin e.g. Search Query.
If you still need to perform some reordering after you got items from the database, you can do it in a custom list template, as Klas suggested above. You'll find the items in the array $items and it is up to you what you will do with that.