Reordable List in a window

I’m aware of how to create a ReordableList (I haven’t created any but i know the basics). But i haven’t seen a way to create one in custom window. Please, any ideas? I’ve only seen ways to do it in the inspector, i dont know if it is even posible.

Yes it can be used anywhere IMGUI is used (e.g., Editor, EditorWindow, PropertyDrawer)