Bug fix for browse sort