added docs for search sorting