Task: Implement a List Sortedness Metric
Task: Implement a List Sortedness Metric: a task in Terminal-Lego-15k (Harbor dataset). Implement a program that measures how "sorted" a list of numbers is. This metric should quantify the degree of sorting in a list, similar to a correlation coefficient.
Part of PrimeIntellect/Terminal-Lego-15k.