public List <ActorId> Sort(IEnumerable <ActorId> actorIds) { var actors = actorRepository.FindIn(actorIds); return(actors.OrderByDescending(actor => actor, Actor.SpeedComparer) .Select(actor => actor.ActorId).ToList()); }