diff --git a/theatre/studio/src/panels/OutlinePanel/ObjectsList/ObjectsList.tsx b/theatre/studio/src/panels/OutlinePanel/ObjectsList/ObjectsList.tsx index 6b9a17b..02cb7bb 100644 --- a/theatre/studio/src/panels/OutlinePanel/ObjectsList/ObjectsList.tsx +++ b/theatre/studio/src/panels/OutlinePanel/ObjectsList/ObjectsList.tsx @@ -19,15 +19,17 @@ const ObjectsList: React.FC<{ return ( <> - {objectsEntries.map(([objectPath, object]) => { - return ( - - ) - })} + {objectsEntries + .sort(([pathA], [pathB]) => (pathA > pathB ? 1 : -1)) + .map(([objectPath, object]) => { + return ( + + ) + })} ) }, [sheet, depth])