title: Can PyCharm display the fields of a variable in correct order?
body: <p>I defined a data class which has a few fields. When I print it, they are displayed in the correct order:</p>
  <pre class="lang-py prettyprint-override"><code>def test():
      @dataclass
      class Image:
          width: int
          height: int
          pixels: object
  
      image = Image(width=4, height=3, pixels=list(range(12)))
      print(image)
      pass
  </code></pre>
  <p>The output of this code is good:</p>
  <pre class="lang-py prettyprint-override"><code>test.&lt;locals&gt;.Image(width=4, height=3, pixels=[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11])
  </code></pre>
  <p>But if I examine the variable in PyCharm (by stopping at a breakpoint at the last line, which says <code>pass</code>), it shows me the fields in alphabetical order, which is confusing:</p>
  <p><a href="https://i.stack.imgur.com/jzopk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jzopk.png" alt="PyCharm watch" /></a></p>
  <p>Can I fix this behavior?</p>
  <p>I am using PyCharm 2019.1.2.</p>