Sharing Mac Desktop - Window menu

When sharing the window of a desktop app the UI on Mac simply lists every window. This view is not sorted in any way so it can be hard to quickly find the window I actually want to capture. Can this be updated to group windows by app and have the list sorted?