Hello and welcome to the step-by-step demo of how to sort a list in reverse order and print the first five items from the list in a message box. We'll demonstrate this by creating a workflow that uses a list of student names in random alphabetical order. It sorts and reverses the list to display the first five student names in a message box. Search for a sequence activity, and drag and drop it in the Designer panel. Rename and add an annotation to it. Navigate to the Variables panel, and create a list variable called studentList. Under Variable type column, choose "Browse for Types" from the drop-down list. In the pop-up window, search list, and select "List<T>" under System.Connections.Generic. Here, T refers to Type parameter. Now, I click the drop-down menu that appears at the top of the popup window, and select "String." Click "Okay". Under the Default column of the studentList variable, initialize the variable by entering the expression "New List()", and enter of String inside it. Then, enter From after parentheses, and begin curly bracket. Enter 10 names in double-quotes separated by commas: "Jack", "Anna", "Ben", "Zed", "Tommy", "Harry", "Dick", "Sen", "Eggy", and "Freddy". Create another list variable called tempList within the Variables panel. Select Variable type, same as that of studentList. Leave its Default column empty. Search for an Invoke Method activity, and drag and drop it in the sequence activity. Rename it as Sort. Select Target Type as null. Enter the variable studentList in the TargetObject field, and Sort in the MethodName field. Insert another Invoke Method activity below the previous Invoke Method activity. Select Target Type as null. Enter the variable studentList in the TargetObject field and Reverse in the Method Name field. Search for an Assign activity, and drag and drop it below the second Invoke Method activity, and rename it. In the two text box, insert the variable tempList. Navigate to the Properties panel of the Assign activity, and click on the Ellipsis icon if the Value property to open the Expression Editor window. Enter the expression studentlList.GetRange() and enter 0,5. Here, GetRange is used to pick the first five items in the range. Search for a Message Box activity, and drag-and-drop below the Assign activity , and rename it. Navigate to the Properties panel of the Message Box activity, and click on the ellipsis icon of the Text property to open the Expression Editor window. Enter the expression String.Join(). Enter comma in double-quotes, then again, comma, and enter tempList.ToArray. Click "Save" to save the project, and run it. You can see that the names of five students are displayed in reverse alphabetical order in the message box. Thanks for watching. Goodbye.