fixed bug in View in search order