Sequential Inference With The Mallows Model