You need to set a sort column in the data model: https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column