Mongo distinct query with sort not working

I’m running a query in mongo using php like this: $column =’address.roadname’; (new MongoDBClient())->db->mycollection->distinct($column,[],[‘$sort’=> [$column => 1]]); The query …