Trying to sort rates by key