SQLite Forum

possible to use output of a SELECT-query for ordering?
Login
I am not sure how what you want should work.

ORDER BY needs to be something that pertains to stuff in the outer SELECT.

Can you give an example of your real need?