Issue with sorting movies by duration time

I have and issue with sorting movies by duration time. When I enter movies list only some movies have time displayed and are sorted correctly. The rest of movies have not visible time and is in random order before movies with time.

To fix this I have to click “Descending / Ascending” button and then all missing times start to magically appear. When I exit movies and then launch it again, this issue is present once again.

Here is video showing this issue: https://www.youtube.com/watch?v=vtHqXh0obfQ

It’s for sure not a skin issue, because It happen on both OSMC skin and on Confluence.

I’m using latest OSMC (so it’s based on Kodi Jarvis I believe) on Raspberry Pi 1.

Does it happen to anyone else? Can someone check if this issue still persists in Kodi v17? but I believe nothing was changed in this area there.

This issue was mentioned here several years ago in Kodi v13, but seems like this issue is still present.