Changed sorting to key instead of name