Creates a SortedList with the initial capacity given by size and a comparison function. The SortedList can contain equal / identical elements more than once.
Adds an item in the SortedList at the correct position.
Adds all the items in the collection into the SortedList.