Add Sorting Option on Views

Hi,

Is it possible to add a sorting option when using it on views? I have 2 options already on my select, which are Title asc and Title desc. I want to add more. The tricky part is the value that i will sort will not come from the drupal database but from an api.

The situation is, i have nodes in drupal and then it is also connected to an api which handles some of the functions that will return values. I’m not saving the values since it changes everytime, it is historical and it might affect the site load.

Any suggestions on how to handle this?

Thank you very much!


Source: https://www.drupal.org/taxonomy/term/4/feed