Update search API to support orderBy param
Also update API docs