public static function getCommentsSort() {
		$user_setting = elgg_get_plugin_user_setting('comments_order', 0, 'hypeInteractions');
		$setting = $user_setting ?: elgg_get_plugin_setting('comments_order', 'hypeInteractions');
		if ($setting == 'asc') {
			$setting = 'time_created::asc';
		} else if ($setting == 'desc') {
			$setting = 'time_created::desc';
		}
		return $setting;
	}
public static function getCommentsSort() {
		$user_setting = elgg_get_plugin_user_setting('comments_order', 0, 'hypeInteractions');
		$setting = $user_setting ?: elgg_get_plugin_setting('comments_order', 'hypeInteractions');
		if ($setting == 'asc') {
			$setting = 'time_created::asc';
		} else if ($setting == 'desc') {
			$setting = 'time_created::desc';
		}
		return $setting;
	}
public static function getCommentsSort ( ) { $ user_setting = elgg_get_plugin_user_setting ( 'comments_order' , 0 , 'hypeInteractions' ) ; $ setting = $ user_setting ? : elgg_get_plugin_setting ( 'comments_order' , 'hypeInteractions' ) ; if ( $ setting == 'asc' ) { $ setting = 'time_created::asc' ; } else if ( $ setting == 'desc' ) { $ setting = 'time_created::desc' ; } return $ setting ; }
Get configured comments order
@return string
Get configured comments order