In Zendframework 1 we use the following code in the models to apply where and order by clauses:
$this->select()
->where('WHERE CLAUSE')
->order('ORDER FIELDS');
But in Zendframework 2 it has been changed to:
$this->select('WHERE CLAUSE');
I dont know how to apply order by clause to my select object.