From a436daea7de2c5fa3a155564686fe564ebfb2fda Mon Sep 17 00:00:00 2001 From: dfinke Date: Tue, 22 Mar 2016 23:41:39 -0400 Subject: [PATCH] Added --- Examples/Extra/Get-ModuleStats.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Examples/Extra/Get-ModuleStats.ps1 b/Examples/Extra/Get-ModuleStats.ps1 index 6cb0b16..e433d40 100644 --- a/Examples/Extra/Get-ModuleStats.ps1 +++ b/Examples/Extra/Get-ModuleStats.ps1 @@ -15,6 +15,6 @@ param( $galleryUrl = "https://www.powershellgallery.com/packages/$moduleName" $nolegend = '-nolegend' if($chartType -eq 'pie') {$nolegend = $null} -$code = "$($chartType)Chart (Get-HtmlTable $galleryUrl 0) -title 'Download stats for $moduleName' $nolegend" +$code = "$($chartType)Chart (Get-HtmlTable $galleryUrl 0 | sort lastupdated -desc) -title 'Download stats for $moduleName' $nolegend" $code | Invoke-Expression \ No newline at end of file