error: Unknown column '0' in 'order clause'

Halted on error select * from psitulmnie1_photo where active>0 and typeid=1 and statusid=0 and senior=1 and sizeid=3 order by 0