Hey there, data pro! Happy to see you back and ready to explore more of the organizational side of data analysis. In this video, we'll learn how to sort data in spreadsheets. We've done some sorting in spreadsheets earlier in the program. Now it's time to build on what we've covered and introduce some more advanced sorting techniques. Sorting is amazing. Not only does it add order and meaning to your spreadsheets, it also gives you the power to reimagine data altogether. When you sort data based on a specific metric, you can uncover new patterns and relationships within datasets you might not have otherwise noticed. This is especially true for spreadsheets, which you'll use a lot in your work as a data analyst. Knowing how to sort data in spreadsheets can make you a stronger and more confident analyst. In many ways, sorting relies on your creativity to reimagine the information you have in front of you. In spreadsheets, you can sort data by ascending or descending order using numbers or letters. If cells are labeled with color, you can sort them by color, too. When sorting data in a spreadsheet, you can choose to "Sort sheet" or "Sort range." If "Sort sheet" is applied, all of the data in a spreadsheet is sorted by the conditions of a single column, but the related information across each row stays together. On the other hand, "Sort range" doesn't keep the information across rows together. When you sort a range, you're selecting a specific collection of cells or the range that you want the sorting limited to. Nothing else on the spreadsheet gets rearranged but the specified cells. There's two methods for sorting spreadsheet data: one involves using the menu; the other involves writing out the sort function. For now, we'll focus on sorting with the menu. We'll get to writing out functions later on. Now, depending on the program you use, the process might seem slightly different, but the instructions and concepts we discuss will be basically the same. Back to sorting with the data menu. To give you an idea of how to do it, we'll use the movie spreadsheet. Let's check it out. In this example, we'll sort movies by release date. We'll head to column B, which is listed as "Release Date." Click on the "B" button to highlight all the cells in the column. From there, we'll head to the Data tab in the menu. Now you have two choices: sort a sheet or a range of data. You'll notice that we've selected just the release dates, but these release dates are specifically related to the movies in their row. In this case, you want the release date and the movie title to stay in the same row as you sort because they're related. To do this, you'll want to "Sort sheet." This will keep all the data together by row, no matter how you sort it. Depending on the order you want the release dates to be in, you can sort from A to Z, which will also rank the dates numerically. Or you can sort from Z to A, which will sort data the opposite way. Since we want the release dates to be in order, we'll click "Sort sheet by column B" from A to Z. And there you go. You just sorted a sheet of data using the menu. Now the movies are arranged in chronological order based on release date. Let's say you want to sort data in a specific column, but don't need the cells in that column tied to a specific row of information. Instead, you want to isolate the column's data and sort it on its own without affecting how the rest of the sheet's arranged. For fun, we'll use the Movie Title column in this example. First, we'll select the column we want to sort: column A. Clicking on column A highlights all the cells in the column which contain the movie titles. Then we'll go to the menu and click Data because we're isolating the column from the rest of the sheet. When we sort this time, we'll click "Sort range by column A." For this example, we'll sort the movie titles alphabetically from A to Z. And that's it! You'll notice that "Sort range" doesn't keep the rows together, so the data are a bit jumbled. You'll probably end up using "Sort sheet" more often, but it's important to understand them both so you don't accidentally get them mixed up. You've just sorted data in a spreadsheet using the menu, and you've learned how to sort data by an entire sheet or by a range of cells. That's something you'll be able to take with you wherever you go as a data analyst. Coming up, we'll learn about the second way to sort in a spreadsheet: by writing out a function. We'll also take sorting to the next level by custom sorting your data. See you there!