Fix #32. To sort on multiple fields just call the function sort several times. ->sort('-score')->('category');