Unity List Add, Linq

pipeHolders = GameObject.FindGameObjectsWithTag (“PipeHolder”);
pipeHolders = pipeHolders.OrderBy (pipeHolder => pipeHolder.transform.position.x).ToArray();

*****
public List points = new List();
****
List colors = new List();
colors.Add(“Red”);
colors.Add(“Blue”);
colors.Add(“Green”);

**************
http://answers.unity3d.com/questions/1112497/adding-gameobjects-to-an-existing-array.html

http://csharp.net-informations.com/collection/list.htm

LINQ in Unity

LINQ for Unity Developers: https://unity3d.college/2017/07/01/linq-unity-developers/

LINQ (Language Integrated Query) is a great feature available to C# Unity developers. Many developers don’t know it exists or how to use it though, and lose out on the great time & code savings it can provide. LINQ in Unity has a variety of great uses, and a couple pitfalls you’ll want to avoid.

https://forum.unity.com/threads/orderbydescending-help.315281/

Sort: http://answers.unity3d.com/questions/1381601/sort-a-list-of-class-by-a-vector-variable-in-the-c.html