improved sort and filter buttons