added experimental velocity sorting