> Here is the query > > $additionalParameters > = array( > 'facet'=>'true', > > 'facet.field'=>array('category','subcategory','district'), > > 'fl'=>'name,category,package,district,score,city,description,id', > > 'fq'=>array('category:'.$_GET['searchCategory'],'district:'.$_GET['location']), > 'sort'=>array('packageId > desc', 'id desc') > ); > > > Above code returns only sorted result based on packageId, > but its not sorting with id
What is the type of id field? Is it one the sortable (trie-based) ones? tint, tdouble, etc.