the field should bind to the record respectively then only you can sort the records, hence you may need to find your way to define or append it, once it's in the collection you can simply use the helper to sort the collection like so
https://riptutorial.com/laravel/example/11490/sorting-a-collection.
if it is base on algorithm, then compute using vue could achieve it also.
@siangboon The issue is, I'm trying to pull the data from a function in the model, and nova renders it without any issues, only major issue is when sorting/filtering, it will search for data from database rather than directly from the table .
A nice way to solve this is to use a Nova Lense, and alter the default query in the indexQuery method. It would sort in one fixed direction, unless you do some further trickery which could be possible.