title: Sort Values in DAX/Power BI
body: <p>So I have a dynamic graph title that will change based on what time component is selected (Period[Period]) and by the shifts that are selected (T_HISSSHIFTS[C_PERIOD]). </p>
  
  <p>The values in T_HISSSHIFTS[C_PERIOD] are showing up out of order e.g. D,B,C,A. I need it to come out as A,B,C,D or in order of what is selected. Below is the code, any ideas how to order these shifts? </p>
  
  <pre><code>    Title_Eff+MachineType = 
  "Knit Effeciency by "
      &amp; CONCATENATEX ( VALUES ( Period[Period] ), Period[Period], ", " ) &amp; " By Shifts "
      &amp; CONCATENATEX ( VALUES ( T_HISSHIFTS[C_PERIOD] ), T_HISSHIFTS[C_PERIOD], ", " )
  </code></pre>