public function getMapRecords($mapUid, $nbLaps, $sort, $nbRecords)
    {
        $query = new RecordQuery();
        $query->filterByMapuid($mapUid);
        $query->filterByNblaps($nbLaps);
        $query->orderByScore($sort);
        $query->limit($nbRecords);

        $result = $query->find();
        $result->populateRelation('Player');
        RecordTableMap::clearInstancePool();

        return $result->getData();
    }