Interpolate values on Sorting in PSQL query
You can sort using an expression:

order by case 
        when se.status in (2, 12, 22) then 1
        when se.status in (1, 11, 21) then 2
        else 3 -- just in case
      end


This would sort rows with status "processing" before rows with "completed"