Check boxes for metrics control added

The list now sort based what check boxes are selected.