Velocity filtration and temperature inversion in a system with long-range interactions