void OrderedInsert(FasterList <ITickingEngine> list, ITickingEngine engine) { int i = 0; for (; i < list.count; i++) { if (list[i].Order >= engine.Order) { break; } } list.Insert(i, engine); }
void OrderedInsert(FasterList <ITickingEngine> list, ITickingEngine engine) { int i = 0; for (; i < list.count; i++) { if (list[i].Order >= engine.Order) { break; } } list.Insert(i, engine); }