fixed bug view predefined sort