Change in ovirt-engine[ovirt-engine-3.5]: core: do not use distinct if sort expr have func