add sort button and bar