Cost of searching: probabilistic analysis of the self-organizing move-to-front and move -to-root sorting rules