From the Sort dialog box, less than Column, from the Sort by or Then by box, find the column that you would like to sort by a custom record. On Android and iOS, you can view the word count while in the Google Docs app by selecting the a few https://www.customguide.com/excel/excel-count