Fix usage of private field in TracingModel
Fix usage of private field in TracingModel

The indirection of `Sorter` was causing issues, where the cast to `any`
was masking over the fact that the `Sortable` interface was intended to
be referencing `NamedObject` instead. Since TypeScript allows us to
specify a generic bounded type, we can move the static method to
`NamedObject` instead and cleanup the redundant interfaces and classes.

R=d8d88e7d7e77f69e23d1d1432231196fb8e02a62@chromium.org

Bug: 1172300
Fixed: 1082064
Change-Id: I1c6b6d22edc8247e222ae6ecdef568d229724f8d
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3222909
Auto-Submit: Tim van der Lippe <dba8716ee7f8d16236046f74d2167cb94410f6ed@chromium.org>
Reviewed-by: Alex Rudenko <d8d88e7d7e77f69e23d1d1432231196fb8e02a62@chromium.org>
Commit-Queue: Alex Rudenko <d8d88e7d7e77f69e23d1d1432231196fb8e02a62@chromium.org>

ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend,ChromeDevTools/devtools-frontend