Make sure default sorting does not override sort parameter.