lets weight the name label so its always first; then sort the rest in key order