I am trying to convert Sql query to laravel query . Daytabase used is postgresql
Laravel Query
$c_list = DB::table('cities')
->select('id as city_id', 'name as lang_name', 'ascii_name as city_name', 'iso2', DB::raw("(CASE WHEN iso2 = 'DE' THEN 'Germany' WHEN iso2 = 'CH' THEN 'Switzerland' ELSE 'India' END) AS codeCity"))
->whereIn('iso2', array('DE', 'IN', 'FR', 'TA', 'CH'))
->orderBy('codeCity','asc')
->orderBy('city_name','asc')
->get();
Showing error
SQLSTATE[42703]: Undefined column: 7 ERROR: column "codeCity" does not exist LINE 1:
Output is getting when orderby codeCity is removed
DataBase Schema

Without orderby results are getting
$c_list = DB::table('cities')
->select('id as city_id', 'name as lang_name', 'ascii_name as city_name', 'iso2', DB::raw("(CASE WHEN iso2 = 'DE' THEN 'Germany' WHEN iso2 = 'CH' THEN 'Switzerland' ELSE 'India' END) AS codeCity"))
->whereIn('iso2', array('DE', 'IN', 'FR', 'TA', 'CH'))
->get();