My group is pretty standard. We divide up the gold equally, then each for each magic item in turn people in the group hold up a Need or Greed card. If one person needs it, they get it, otherwise there is a d100 roll off between the needs. If no needs, then we use the same system with greeds. Seems to be a pretty common system, they even use it in MMOs now.