title: $orderBy with duplicate property in odata v4
body: <p>I have the following models:</p>
  
  <pre><code>public class Field
  {
      public string Name { get; set; }
      public int Order { get; set; }
  
      public int FieldGroupId { get; set; }
  }
  
  public class FieldGroup
  {
      public string Name { get; set; }
      public int Order { get; set; }
  
      public virtual ICollection&lt;Field&gt; Field { get; set; }
  }
  </code></pre>
  
  <p>And what I am want to do is a query where I can order first by the group and then by the field, like:</p>
  
  <pre><code>http://localhost:44300/API/odata/IntFieldSet?$count=true&amp;$expand=FieldGroup&amp;$orderby=FieldGroup/Order,Order
  </code></pre>
  
  <p>However, when I try it I receive the following error:</p>
  
  <pre><code>Duplicate property named 'Order' is not supported in '$orderby'.
  </code></pre>
  
  <p>Although they have the same name, they are not the same field. If I try order by fields with different names or only one of those per time, it works. Ex: </p>
  
  <pre><code>$orderby=FieldGroup/Order,Name   ||   $orderby=FieldGroup/Order   ||   $orderby=Order
  </code></pre>
  
  <p>It used to work on odata v3 but not anymore that I am using odata v4.</p>
  
  <p>Anyone have faced this problem before. Can you help me to find out a solution?</p>
  
  <p>Thanks in advance.</p>