we’ve been discussing this internally but it’s hard to know whether we actually want to do this because for some models you probably want the labels in their defined order (say a model trained on amazon_reviews)
And exposing this as an option adds… well, another option.
Perhaps a sort of dropdown in the UI where you simply sort on the front-end and give the user all the control? (With a cookie so that they do not have to change their preference every call to the API.) Options can be alphabetically, highest/lowest predictions, defined order…