title: How to prevent channel entries from sorting by edit_date when ordering/sorting by two custom fields?
body: <p>I have a channel entries tag that I am trying to order by a custom date field that is used for the day, then I want to sort them by another custom field that is used for the start time.</p>
  
  <p>The ordering and sorting works properly until an entry gets edited. The edit_date then takes precedence and the entry gets moved to the top. </p>
  
  <p>Below is the basic Expression Engine markup I am using:</p>
  
  <p>day-of-week = Expression Engine date field</p>
  
  <p>start-time = Third-party installed field type from Devotee <a href="https://devot-ee.com/add-ons/time-select" rel="nofollow">https://devot-ee.com/add-ons/time-select</a> </p>
  
  <pre><code>{exp:channel:entries channel="{segment_1}" category="12" orderby="day-of-week|start-time" sort="asc|asc" sticky="no"}
  
  &lt;span&gt;{day-of-week format="%D"}"&gt;{session_date format="%D. %M. %d, %Y"}&lt;/span&gt;
  
  &lt;span&gt;{start-time format="%g:%i %a"} - {end-time format="%g:%i %a"}&lt;/span&gt;
  </code></pre>