[ARQ-1530] Column ordering does not work properly due to DBUnit bug

Add TableWrapper and use it to sort using column data type from
database.