Hello I'm trying to sort struct but for some reason it does not work so I'll be happy If you can help me fix the problem. Thanks.

(N = 6)

My sort-

```
for(i = 0; i < N-1; i++) 
{  
    for(j = i + 1; j < N; j++)
    {    
        if(basketball[i].points_number > basketball[i].points_number) 
        {     
            temp = basketball[i].points_number; 
            basketball[i] = basketball[j];   
            basketball[j].points_number = temp;   
        }
    }
}

```

My struct -

```
struct player
{
    char name[20]; 
    float height;
    float points_number; 
    int vest_number; 
};

```