original_string: 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;
  	}
code: 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;
  	}
code_tokens: 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 ; }
docstring: Get configured comments order
  @return string
docstring_tokens: Get configured comments order