Have a piece of code like:
public class Idea
{
(...)
public IList<IdeaSupporter> Supporters { get; set; }
}
public class IdeaSupporter
{
(...)
public int Tokens { get; set; }
}
Try to order ideas by supporters tokens. I know i must use map-reduce but i quite new at it. Anyone knows how should using map-reduce in that case correcty looks?