0👍
✅
list.sort((a,b)=>{
if(a.name.toUpperCase() < b.name.toUpperCase()) { return -1; }
if(a.name.toUpperCase() > b.name.toUpperCase()) { return 1; }
return 0;
})
//To Get the vice versa just interchange the less than (<) and greater than sign (>)
You can assign it to a new data and put it inside your dropdown. Maybe sort your data inside mounted.
Source:stackexchange.com