[#7] sort direct depencies acc to their frequency
[#7] sort direct depencies acc to their frequency

- resolve direct dependencies one by one
- walk the resulting tree and count all occurrances of dependencies
- order the first level dependencies according to their number of
  occurrence, if they occure multiple times they will be resolved later

benedekfazekas/mranderson,benedekfazekas/mranderson