Sorting on value from script field

Without knowing the details of what you're trying to do, there's nothing stopping you from using both script based sorting and script fields at the same time. You could then sort on one calculated value, and return additional information with the script field.