fix Views sort relationship