idolezal commited on
Commit
2be8bdf
β€’
1 Parent(s): 108bca6

Changed order of columns with sort by names

Browse files
Files changed (1) hide show
  1. server.py +4 -2
server.py CHANGED
@@ -303,8 +303,10 @@ class LeaderboardServer:
303
  key
304
  for key in dict.fromkeys(
305
  first_attributes
306
- + list(self.TASKS_METADATA.keys())
307
- + list(dataframe.columns)
 
 
308
  ).keys()
309
  if key in dataframe.columns
310
  ]
 
303
  key
304
  for key in dict.fromkeys(
305
  first_attributes
306
+ + sorted(
307
+ list(self.TASKS_METADATA.keys())
308
+ + list(dataframe.columns)
309
+ )
310
  ).keys()
311
  if key in dataframe.columns
312
  ]