On the theory of ranked-set sampling and its ramifications