Fix joins when ordering on ir.model.field

issue3910
review10311002