Sort on a value field in view query

I have document {categoryId: 100, status: “pending” …other fields}

created a view with emit([doc.categoryId, doc.status])

How can I sort the query result on status field for a particular categoryId?

I have tried &descending=true&startkey=[100, {}]&endkey=[100, {}]&inclusive_end=true, but it returns nothing.