Added a order by id in methods with offset.