‎09-28-2026 02:34 AM
I like to sort/Arrange my classes by type. Changing a class to Arrange by Type works, ofc, and i get a star on the Project. I use Save All, ctrl+shift+s, R-click to Save all on both project and class, but to no avail! When reopening the project it's back to Name sorting in the class! My Project is correct, but as you can't set "inherit from parent" to a class that's irrelevant!
LV2025Q3
‎09-28-2026 06:46 AM
Do a simple "Save > Save" on the library, it should work. Yes, it is silly...
Similar issue:
https://forums.ni.com/t5/LabVIEW/Is-it-just-me-or-does-save-all-not-actually-save-all/td-p/4386328
Regards,
Raphaël.
‎09-28-2026 07:12 AM
I also wanted to do that at one point, and I stumbled across this and gave up. Don't know why it's this way, but it is a documented design decision.
Saying "Thanks that fixed it" or "Thanks that answers my question" and not giving a Kudo or Marked Solution, is like telling your waiter they did a great job and not leaving a tip. Please, tip your waiters.
‎09-28-2026 07:13 AM
@raphschru wrote:
Do a simple "Save > Save" on the library, it should work. Yes, it is silly...
Similar issue:
https://forums.ni.com/t5/LabVIEW/Is-it-just-me-or-does-save-all-not-actually-save-all/td-p/4386328
Regards,
Raphaël.
It's a class, but that's basically a glorified library. Didn't help.
‎09-28-2026 07:28 AM
@Yamaeda wrote:
@raphschru wrote:
Do a simple "Save > Save" on the library, it should work. Yes, it is silly...
Similar issue:
https://forums.ni.com/t5/LabVIEW/Is-it-just-me-or-does-save-all-not-actually-save-all/td-p/4386328
Regards,
Raphaël.
It's a class, but that's basically a glorified library. Didn't help.
Ah my bad, it seems my reproduction test case was too simple.
‎09-29-2026 01:07 AM - edited ‎09-29-2026 01:12 AM
I have also been annoyed by this. But I had to test if this was still the case, and it still is in LV24Q3 at least.
1. Arrange class by Type, save class and project:
2. Reopen. "Arrange by" is reset to "Name":
What you can do is to create a virtual folder for each type, that sort by name:
But I guess there is a better way? Anyone?
It's kind of pointless to have an option to rearrange the sorting if the sorting is not retained when reopening.
Hmm, I guess you could build a project provider plugin that sorts based on a property saved to the class-file. Homework for you 🙂
‎09-29-2026 04:02 AM - edited ‎09-29-2026 04:17 AM
So, looking in the .lvclass file; changing sorting adds/changes a NI.SortType property at both class and folder level, but it ignores the top level. That is; If i open the .lvclass and save it.
Changing it in the project and saving does nothing. I can force it by r-clicking the class and do save->save. Ofc it still ignores it, but the property is updated atleast.
I tried adding the Sort-property directly under the Item in the .lvproj but it had no effect.
Changing the sorting on My Computer level saves in the project file, but it ignores it. It ignores it on class level also.
It changes the exact same key in LV2019, but it reacts to it!
‎09-29-2026 04:17 AM
@Yamaeda wrote:
So, looking in the .lvclass file; changing sorting adds/changes a NI.SortType property at both class and folder level, but it ignores the top level. That is; If i open the .lvclass and save it.
Changing it in the project and saving does nothing. I can force it by r-clicking the class and do save->save. Ofc it still ignores it, but the property is updated atleast.
I tried adding the Sort-property directly under the Item in the .lvproj but it had no effect.
Changing the sorting on My Computer level saves in the project file, but it ignores it.
It changes the exact same key in LV2019, but it reacts to it!
Then you are right, this is a bug. Prove us wrong 🙂