I am encountering issues with the repetition of results in this code (in the terminal) I saw each result 4 times. May the problem i used the same sorted_dic i am not sure.

I wrote

for q in 1:4 # number of school

standard = {Float64}()

for i in students_4schools

push!(standard, S[i] * W/ (f[i])

end

```
dict_standard = Dict(students_4schools[q] .=> standard)
sorted_dict = Dict(sort(collect(dict_standard), by=x -> x[2], rev=true))
School_one=collect(keys(sorted_dict))[1:30]
School_two=collect(keys(sorted_dict))[1:30]
School_three=collect(keys(sorted_dict))[1:30]
School_four=collect(keys(sorted_dict))[1:30]
```