Updated functions across all Variable Collections
Changed to merge sort on C# Variable Collection