Euca 7791

fix to allow different sort column.