Add default scope for ordering by rank