diff --git a/src/MDObjectPositionsSet.php b/src/MDObjectPositionsSet.php index ba39fe2..03c0f34 100644 --- a/src/MDObjectPositionsSet.php +++ b/src/MDObjectPositionsSet.php @@ -15,4 +15,16 @@ class MDObjectPositionsSet { 'left', 'top_left', 'top', 'top_right', 'right', 'bottom_right', 'bottom', 'bottom_left', 'center', 'rear_side', 'edge', 'other', ]; + /** + * Gets a sorted list of the entries in a translated version. + * + * @param MDTlLoader $tlLoader Translation loader. + * + * @return array + */ + public static function getSortedList(MDTlLoader $tlLoader):array { + return parent::getTlSortedList($tlLoader, self::POSITIONS, "position_set", "position_set"); + + } + }