File/Folder name sort order is different from ls command

For help and support with Universal Media Server
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Post Reply
Hyde
Posts: 6
Joined: Wed Sep 28, 2016 10:06 am

File/Folder name sort order is different from ls command

Post by Hyde »

I notice that the file/folder name sort order is different from ls command on Web Interface or PS4 as following.

Output of ls command

Code: Select all

あすなろ三三七拍子
あなたの隣に誰かいる
あぽやん~走る国際空港
アンタッチャブル
アンナさんのおまめ
アンフェア
アイムホーム
アオイホノオ
アスコーマーチ! 県立明日香工業高校行進曲
アラサーちゃん 無修正
アリスの棘
アルジャーノンに花束を
愛しあってるかい!
逢いたい時にあなたはいない…
悪貨
悪女たちのメス
悪党〜重犯罪捜査班
悪魔のキス
悪夢ちゃん
安堂ロイド~A.I. knows LOVE?~
闇金ウシジマくん
闇の伴走者
いつかこの恋を思い出してきっと泣いてしまう
いつかティファニーで朝食を
いつもふたりで
慰謝料弁護士
遺産争族
遺産相続弁護士・柿崎真一
遺留捜査
医師たちの恋愛事情
医龍
隠蔽捜査
隠密八百八町
うぬぼれ刑事
ウロボロス
雲の階段
エンジン
エンジェル・ハート
エンゼルバンク
エアポート
エイジハラスメント
エラいところに嫁いでしまった!
営業部長 吉良奈津子
永久就職試験
煙霞
猿飛三世
おかしの家
お義父さんと呼ばせて
お迎えデス
お天気お姉さん
おとうさん
おトメさん
おひとりさま
おヒマなら来てよネ!
おふこうさん
お父さんは二度死ぬ
おみやさん
おやじの背中
オトナ女子
オヤジぃ。
黄金の豚
俺たちは天使だ!
俺の空 刑事編
俺のダンディズム
Display on Web Interface or PS4

Code: Select all

アイムホーム
アオイホノオ
アスコーマーチ! 県立明日香工業高校行進曲
あすなろ三三七拍子
あなたの隣に誰かいる
あぽやん~走る国際空港
アラサーちゃん 無修正
アリスの棘
アルジャーノンに花束を
アンタッチャブル
アンナさんのおまめ
アンフェア
いつかこの恋を思い出してきっと泣いてしまう
いつかティファニーで朝食を
いつもふたりで
うぬぼれ刑事
ウロボロス
エアポート
エイジハラスメント
エラいところに嫁いでしまった!
エンジェル・ハート
エンジン
エンゼルバンク
おかしの家
おとうさん
オトナ女子
おトメさん
おひとりさま
おヒマなら来てよネ!
おふこうさん
おみやさん
オヤジぃ。
おやじの背中
お義父さんと呼ばせて
お迎えデス
お天気お姉さん
お父さんは二度死ぬ
愛しあってるかい!
逢いたい時にあなたはいない…
悪貨
悪女たちのメス
悪党〜重犯罪捜査班
悪魔のキス
悪夢ちゃん
安堂ロイド~A.I. knows LOVE?~
闇の伴走者
闇金ウシジマくん
慰謝料弁護士
遺産争族
遺産相続弁護士・柿崎真一
遺留捜査
医師たちの恋愛事情
医龍
隠蔽捜査
隠密八百八町
雲の階段
営業部長 吉良奈津子
永久就職試験
煙霞
猿飛三世
黄金の豚
俺たちは天使だ!
俺のダンディズム
俺の空 刑事編
Sorry it;s Japanese but we can specify the difference easily.
Question is why program doesn't use system command, use own sort method instead?
Can't we use ls command to sort them?
Or can we change the order?
Nadahar
Posts: 1990
Joined: Tue Jun 09, 2015 5:57 pm

Re: File/Folder name sort order is different from ls command

Post by Nadahar »

ls isn't used by UMS at all, the list is built dynamicly and then sorted. I can't read Japanese so I can't see what is wrong with the sorting, but is the UMS sorting completely wrong or is it just some elements that's out of place?
Hyde
Posts: 6
Joined: Wed Sep 28, 2016 10:06 am

Re: File/Folder name sort order is different from ls command

Post by Hyde »

I assumed so.
This is only for Japanese from now on.
Current sorting scheme was standardized at before MS-DOS age and is not convenient.
UMS also uses this standard as same as current "windows" not linux.
It's not sorted by pronunciation order though.
Hence I modified that order and am using personally on my PCs that's why I notice that UMS does not use ls command.
That old standard is OK, we can find the target at least and better than unicode sort. But my modified scheme is much better than that.
Do you allow me to volunteer the Japanese character sort order in UMS if it can be modified?
atamariya
Posts: 146
Joined: Sun Aug 11, 2013 1:15 am

Re: File/Folder name sort order is different from ls command

Post by atamariya »

@Hyde, you can create a pull request https://github.com/UniversalMediaServer ... ediaServer .
Post Reply