Web will not sort correctly on "Rating" column for my movies

Just got word that both ratings field are going to be non-editable.
If you have edited them in your library, so that this field is now “locked”, you might want to unlock that field now. Otherwise, this rating may never update in the future.

There is a way to do that for a whole library at once, but it requires a way to send http requests. On Linux you can use curl (but there is also a Windows version of curl available.)
This approach is already described in this thread New Music Metadata handling
The request is looking like this

curl -X PUT "me.local:32400/library/sections/NN/all?type=1&rating.locked=0&X-Plex-Token=XXXXX