objects in dopesheet and fcurve editor seems to be sorted by ‘creation’ time, and not alphabetically as in outliner, this usually results in difficult to read or edit data and also makes not much sense… you can use filters but it is not always a good solution
here’s a snippet / workaround for simple scenes that ‘recreates’ the objects, so dopesheet looks alphabetically and hierarchically sorted
# sort objects in dopesheet / fcurve editor
import bpy
scn=bpy.context.scene
obs=[o.name for o in scn.objects if o.animation_data]
obs.sort(reverse=True)
for o in obs:
obj = scn.objects[o]
scn.objects.unlink(obj)
scn.objects.link(obj)
hope to see some proper fix to this soon, thought of filling a bug but it would be rejected
it is not a bug as it never worked, it’s not even coded I guess… it is more a ‘user expectation’
btw where can I see your locomotive? had to do a rough 2-6-0/6 recently
Sorry. I should have taken that link out of there. This project is taking far longer than I first anticipated, so the web site is down (as you likely know, since you’re asking ).
I’ll endeavor to post something in Works in Progress if you like. It’ll just be parts, but that’s all I have ATM. PM me if that will help.