test sorting by computed field