diff --git a/src/Libraries/CoreNodes/List.cs b/src/Libraries/CoreNodes/List.cs
index 86627959c43..85c03067e54 100644
--- a/src/Libraries/CoreNodes/List.cs
+++ b/src/Libraries/CoreNodes/List.cs
@@ -244,15 +244,12 @@ public static IList Reorder(IList list, IList indices)
/// The indices of the items in the sorted list
/// sort,index,value
[IsVisibleInDynamoLibrary(true)]
- public static IEnumerable SortIndexByValue(List list)
+ public static IEnumerable SortIndexByValue(IList list)
{
- List> tupleList = new List>();
- for (int i = 0; i < list.Count; i++)
- {
- tupleList.Add(new Tuple(i, list[i]));
- }
- tupleList = tupleList.OrderBy(x => x.Item2).ToList();
- IEnumerable newList = tupleList.OrderBy(x => x.Item2).Select(y => y.Item1);
+ IEnumerable newList = list.Cast