sort field list structure in client side