Use SortedList instead of SortedDictionnary

The retrieval of the lowest priority is faster, thus it reduce
the overhead of the metrics
Merge pull request #4 from razrin/master

Use SortedList instead of SortedDictionnary