I have a entity reference field, widget used is "Inline entity form - Multiple values". We can add multiple entries. When I have multiple values they are ordered by weights. How can I order them alphabetically ?
Try adding a customjs.js file to your Drupal site and reference it from basic.libraries.yml (in Drupal 7 its the theme.info file).
You could add there could acting upon your