view sort fix