Double violations filtered and sorted in ViolationRepository,java