Optional route components

I have a route which looks like this:


So using this route, if I want to implement pagination, I have to supply a sort and sortdir parameter.

Is there any way to define a route which accepts


but have any of these parameters be optional so that (for example) I can call


and not worry about sort and sortdir?