Unfortunately, custom sorting in the widget is not possible, only using the default sort by name and ID.
To change the sorting of categories, you need to select Order by > Menu order in this element, and then change the position of this category on the category page https://monosnap.com/file/tTjjXYi5SEiK23ey86ZpHa3nfH92uv. This type of sorting is the most correct.