jittering and random sorting