allows page sorting by multiple criteria