I was wondering, if possible, to sort the CPTs based on a user's meta key storing a number.
For example User_X has a point count of 10. And we have User_Y with 12 points. User_X has CPT1 and CPT2 and User_Y CPT3 and CPT4. I would like, for ex to 'orderby' 'DESC', to see CPT3 and CPT4 first, and CPT1 and CPT2 after. i.e. Posts of user with more points will be in front.
I could list & sort the users with a view and try to have a view for the cpts within the users view, but I don't know how to add a proper filter (to display CPTs of User1, CPTs of User2, and so on).
Maybe it's an idea to create a custom field for the CPTs and to transfer the user_points_count to the CPTs of the user. And then sort the view based on that custom field. I don't know if this is the normal approach or if there is any other option (to have minimum queries).
This would be better done with a nested view setup.
So you first view will list all the authors as you want it and add the sort option to the Author view so that it sorts the author by the custom field.
Secondly you create a post view to list the posts. Then you will add an author query filter to the view by clicking the add a filter button. See Screenshot
Finally you will set it to get the author from the parent view. See Screenshot
Then just add this Post view to the Authors view within the view's content template and you should be seeing your posts sorted in the order that you want it.