allow empty segment and sort params
first spec