@@ -132,7 +132,7 @@ def Plot_by_license_type(args):
132132 name_label = "License"
133133 data_label = "Count"
134134 data = pd .read_csv (file_path , index_col = name_label )
135-
135+ data . sort_values ( name_label , ascending = False , inplace = True )
136136 title = "Totals by license type"
137137 plt = plot .combined_plot (
138138 args = args ,
@@ -174,7 +174,7 @@ def plot_totals_by_code_license(args):
174174 name_label = "Category"
175175 data_label = "Count"
176176 data = pd .read_csv (file_path , index_col = name_label )
177-
177+ data . sort_values ( name_label , ascending = False , inplace = True )
178178 title = "Totals by Code License"
179179 plt = plot .combined_plot (
180180 args = args ,
@@ -216,7 +216,7 @@ def plot_totals_by_restriction(args):
216216 name_label = "Category"
217217 data_label = "Count"
218218 data = pd .read_csv (file_path , index_col = name_label )
219-
219+ data . sort_values ( name_label , ascending = False , inplace = True )
220220 title = "Totals by restriction"
221221 plt = plot .combined_plot (
222222 args = args ,
@@ -257,7 +257,7 @@ def plot_totals_by_rights_reserved(args):
257257 name_label = "Category"
258258 data_label = "Count"
259259 data = pd .read_csv (file_path , index_col = name_label )
260-
260+ data . sort_values ( name_label , ascending = False , inplace = True )
261261 title = "Totals by Rights Reserved vs No Rights Reserved"
262262 plt = plot .combined_plot (
263263 args = args ,
0 commit comments