merged pull request #200: additional sort parameter