Question : changing order of group result

I have a simple query I need to change the order of the results.

Select id from header group by id
returns
1
10
2
25

I need it to return

1
2
10
25

Thanks

Answer : changing order of group result

ok, so let's try
1:
2:
3:
order by isnumeric(yourcol) desc
, case when isnumeric(yourcol) = 0 then yourcol 
  else right( '00000000000' + yourcol , 10 ) end
Random Solutions  
 
programming4us programming4us