fixed a discrepancy between the show and showsorted views