Add support of join sort in search API (v1) #403

Syntax: N-fieldname_$null$
It means: 
N: The number of the join. 0 means no joins.
- or +: The direction of the sort
fieldname: the name of the field
_$null$: Null values comes first