Gravar-mail: Tests for stochastic ordering under biased sampling