You could try adding a new int field (like "typeSort") that has the desired 
sort values. So when adding a document with type:car, also add typeSort:1; when 
adding type:van, also add typeSort:2; etc. Then you could do "sort=typeSort 
asc" to get them in your desired order.

I think this is also possible with custom function queries, but I've never done 
that.

-Michael

Reply via email to