fixing dependencies
adding order to paging results