dynamic stats ordering