Reduce attribute value tables to two
Added devicepage sorting api