store sort fix