add sort color & search matrix