Answers.Body: <p>This is fixed in CiviCRM 5.69+: <a href="https://github.com/civicrm/civicrm-core/pull/28842" rel="nofollow noreferrer">https://github.com/civicrm/civicrm-core/pull/28842</a></p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2024-01-26T14:59:06.123Z
Answers.LastActivityDate: 2024-01-26T14:59:06.123Z
Answers.UserDisplayName: Jon G - Megaphone Tech
Body: <p>I'm having an issue all of a sudden with the ordering of Membership price sets on contribution pages. They are being displayed in an odd sequence that is confusing. It was never like this in the past and seemed fine before today. Additionally, making deliberate changes to the ordering has no effect on the output.</p>
  <p>I've cleared caches with no discernable effect. I have disabled the new searchkit based admin and search interfaces with no change. I attach screenshots of the profile editor and the output.</p>
  <p>CiviCRM 5.68.0 on WordPress 6.4.2</p>
  <p><a href="https://i.sstatic.net/NVh3J.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/NVh3J.png" alt="screenshot of profile editor" /></a></p>
  <p><a href="https://i.sstatic.net/usTlY.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/usTlY.png" alt="screenshot of output showing incorrect field ordering" /></a></p>
  <p>UPDATE: I have tried many things including recreating the price sets in the correct order so I don't have to re-shuffle after the fact. That seemed to work for a time, but now the new versions are having the same problem.</p>
  <p>Further, I have attempted to recreate the problem over at <a href="https://dmaster.demo.civicrm.org" rel="nofollow noreferrer">https://dmaster.demo.civicrm.org</a> as <a href="https://civicrm.stackexchange.com/users/96/petednz-fuzion">@petednz - fuzion</a> suggested. The problem does not occur there.</p>
  <p>This same site had a <a href="https://civicrm.stackexchange.com/questions/46082/relationships-no-longer-working-as-expected-data-corruption">relationship cache issue</a> and I wonder if there are other caches that are screwed up and what I might do to reset them?</p>
  
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-12-14T09:58:22.620Z
Comments.Text: Looks like a bug
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-12-14T09:58:59.513Z
Comments.Text: What is the Civi version?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-12-14T15:20:31.123Z
Comments.Text: CiviCRM 5.68.0 on WordPress 6.4.2
Comments.UserDisplayName: kapn
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-12-14T18:15:28.550Z
Comments.Text: Have you replicated on one of the Master sites?
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-12-14T20:39:16.127Z
Comments.Text: @petednz-fuzion I have not. Remind me where they are again? I just had a look at civicrm.org and couldn't see any clear links. The demo sites that I saw don't seem to be the latest version.
Comments.UserDisplayName: kapn
Comments.ContentLicense: CC BY-SA 4.0
Comments.CreationDate: 2023-12-15T18:56:53.120Z
Comments.Text: I just go to https://dmaster.demo.civicrm.org/
Comments.UserDisplayName: petednz - fuzion
Tags: <civicontribute><price-sets>
Title: Membership price set order is wrong
ThreadText: # Membership price set order is wrong
  
  (Asked by: username_0 on 2023-12-14)
  
  I'm having an issue all of a sudden with the ordering of Membership price sets on contribution pages. They are being displayed in an odd sequence that is confusing. It was never like this in the past and seemed fine before today. Additionally, making deliberate changes to the ordering has no effect on the output.
  
  I've cleared caches with no discernable effect. I have disabled the new searchkit based admin and search interfaces with no change. I attach screenshots of the profile editor and the output.
  
  CiviCRM 5.68.0 on WordPress 6.4.2
  
  [![screenshot of profile editor](https://i.sstatic.net/NVh3J.png)](https://i.sstatic.net/NVh3J.png)
  
  [![screenshot of output showing incorrect field ordering](https://i.sstatic.net/usTlY.png)](https://i.sstatic.net/usTlY.png)
  
  UPDATE: I have tried many things including recreating the price sets in the correct order so I don't have to re-shuffle after the fact. That seemed to work for a time, but now the new versions are having the same problem.
  
  Further, I have attempted to recreate the problem over at <https://dmaster.demo.civicrm.org> as [@username_2](https://civicrm.stackexchange.com/users/96/username_2) suggested. The problem does not occur there.
  
  This same site had a [relationship cache issue](https://civicrm.stackexchange.com/questions/46082/relationships-no-longer-working-as-expected-data-corruption) and I wonder if there are other caches that are screwed up and what I might do to reset them?
  
  **Tags:** civicontribute, price-sets
  
  > **Comments:**
  > **username_1**: Looks like a bug  
  > **username_1**: What is the Civi version?  
  > **username_0**: CiviCRM 5.68.0 on WordPress 6.4.2  
  > **username_2**: Have you replicated on one of the Master sites?  
  > **username_0**: @username_2 I have not. Remind me where they are again? I just had a look at civicrm.org and couldn't see any clear links. The demo sites that I saw don't seem to be the latest version.  
  > **username_2**: I just go to https://dmaster.demo.civicrm.org/  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_3 on 2024-01-26. Score: 3 | Accepted answer
  
  This is fixed in CiviCRM 5.69+: <https://github.com/civicrm/civicrm-core/pull/28842>
  
  
  ---
  
  