Sort advanced sos and dists added