add sortbar prototype