First of all, I haven't tried anything yet because I really don't know where to start.
I am trying to randomly display a post (from a CPT) based on a meta value (a numeric meta value from 1 to 10) which should act like a priority/weight. Higher the value is, higher the chance to display that post.
I believe this can not be achieved using standard WordPress loop and this is exactly where my researches are getting lost.
How can I do this? Any help or point of direction would be appreciated.