You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mesos.apache.org by "Nikita Vetoshkin (JIRA)" <ji...@apache.org> on 2015/07/16 09:00:11 UTC
[jira] [Commented] (MESOS-3057) Mesos web ui sorting by Id results
in non-intuitive order.
[ https://issues.apache.org/jira/browse/MESOS-3057?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14629323#comment-14629323 ]
Nikita Vetoshkin commented on MESOS-3057:
-----------------------------------------
That's the problem with lexicographical sorting of strings. Perhaps we can resort to "natural sorting", there are even JS libraries for that (like [this one|https://github.com/Bill4Time/javascript-natural-sort/blob/master/naturalSort.js]).
> Mesos web ui sorting by Id results in non-intuitive order.
> ----------------------------------------------------------
>
> Key: MESOS-3057
> URL: https://issues.apache.org/jira/browse/MESOS-3057
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 0.23.0
> Reporter: Cody Roseborough
> Priority: Trivial
> Labels: newbie
> Attachments: web ui sorted by ids.png
>
>
> In the mesos webui sorting task by ID results in non-intuitive order. For example with Id's task_0-task_200 sorted asc you get task_0, task_1, task_10, task_100... task_109, task_11, task_110 etc. It happens if you use just numbers as Id's also.
> It seems like it should be sorted using natural sort order.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)