Fix syntax for sort method on hash instances