How to sort the displayed data from mysql according to value not from database?

For example, I get a certain way a specific number, which is summarized from various sources, some from the dB, some of the third-party api. For each output from the database field's value is unique. As for this value to sort the result of the query in the database?
July 9th 19 at 13:35
1 answer
July 9th 19 at 13:37
[offtop] * sort [/offtop].
Like and letters written, but still in Chinese.
Sorting in database is not a value but a field of a table, generally poorly understand what it means to "sort on this value". Explain the task clearly, I think formulating CLEAR requirements for the task or you will understand what to do, or then you will be able to help.

Find more questions by tags MySQLPHP