Use a single case statement instead of repeating the same case statement for each possible value:
SELECT * FROM (
SELECT ROW_NUMBER()
over (
ORDER BY
CASE @SortExpression
WHEN 'Country_id' THEN Country_id
WHEN 'Country_name' THEN Country_name
WHEN 'Country_region' THEN Country_region
WHEN 'Country_area' THEN Country_area
WHEN 'Country_Population' THEN Country_Population
WHEN 'Country_gdp' THEN Country_gdp
END
) as num, * From Country_Profile123
) as tbl
WHERE num BETWEEN @column AND @column1
Applying sort order is a bit trickier. You can't apply the direction to the value, so you need a first hand case and a second hand case with different directions:
SELECT * FROM (
SELECT ROW_NUMBER()
over (
ORDER BY
CASE @SortExpression
WHEN 'Country_id' THEN Country_id
WHEN 'Country_name' THEN Country_name
WHEN 'Country_region' THEN Country_region
WHEN 'Country_area' THEN Country_area
WHEN 'Country_Population' THEN Country_Population
WHEN 'Country_gdp' THEN Country_gdp
ELSE 0
END,
CASE @SortExpression
WHEN 'Country_id_desc' THEN Country_id
WHEN 'Country_name_desc' THEN Country_name
WHEN 'Country_region_desc' THEN Country_region
WHEN 'Country_area_desc' THEN Country_area
WHEN 'Country_Population_desc' THEN Country_Population
WHEN 'Country_gdp_desc' THEN Country_gdp
ELSE 0
END DESC
) as num, * From Country_Profile123
) as tbl
WHERE num BETWEEN @column AND @column1