internal void Add(Grid2DEntry entry) { //binary search for the approximately correct location. This helps prevent large first-frame sort times. entries.Insert(GetIndex(entry.item.boundingBox.Min.X), entry); }