# Editor.Menu.PathElement.Compare

```csharp
static int Compare(IReadOnlyList<PathElement> aPath, IReadOnlyList<PathElement> bPath)
```

### Parameters

- `aPath` (`IReadOnlyList<PathElement>`)
- `bPath` (`IReadOnlyList<PathElement>`)

### Returns

`int`

Declared in [Editor.Menu.PathElement](/api/Editor.Menu.PathElement).
Assembly: `Sandbox.Tools`.
