Bug Report
Description
dvc exp show --sort-by doesn't seem to do any sorting.
Reproduce
$ dvc init
$ echo "p: 0" > params.yaml
$ dvc stage add -p p -n test "echo test"
$ dvc exp run
$ dvc exp run -S p=2
$ dvc exp run -S p=1
$ dvc exp show --sort-by p
┏━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━┓
┃ Experiment ┃ Created ┃ p ┃
┡━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━┩
│ workspace │ - │ 1 │
│ main │ 04:38 PM │ - │
│ ├── fad0a94 [exp-89140] │ 04:41 PM │ 1 │
│ ├── 60fcda8 [exp-43537] │ 04:41 PM │ 2 │
│ └── a7e9aaf [exp-4f89e] │ 04:41 PM │ 0 │
└─────────────────────────┴──────────┴───┘
Expected
Sorted table rows.
Environment information
$ dvc doctor
DVC version: 2.7.4+e29543
---------------------------------
Platform: Python 3.9.5 on macOS-11.5.2-arm64-arm-64bit
Supports:
s3 (s3fs = 2021.8.0, boto3 = 1.17.5)
Cache types: <https://error.dvc.org/no-dvc-cache>
Caches: local
Remotes: local
Workspace directory: apfs on /dev/disk3s1s1
Repo: dvc, git
Bug Report
Description
dvc exp show --sort-bydoesn't seem to do any sorting.Reproduce
Expected
Sorted table rows.
Environment information