sorted distributions to fix graph