add sort to getAll product query