Can you sort a Set?

No. You can however convert it to a vector and sort that:

julia> a = Set([2,1,5,3,2]); sort!(collect(a))
4-element Array{Int64,1}:
 1
 2
 3
 5
6 Likes