Quote Originally Posted by matty95srk View Post
Hey Paul, unfortunately it gives me the same error


no blanklines
The blank lines cause the error. You have to filter those out:-
Code:
        RichTextBox1.Lines = RichTextBox1.Lines.
            Where(Function(x) Not String.IsNullOrEmpty(x)).
            OrderByDescending(Function(x) Decimal.Parse(x.Split(" "c)(0))).ToArray