fix --list sort order