Does this make sense to have in a juju/collections package?
On 11/04/18 00:50, John A Meinel wrote:
> utils.SortStringsNaturally()
> (elsewhere it is called 'naturalsort')
> https://en.wikipedia.org/wiki/Natural_sort_order
> which links to
> https://blog.codinghorror.com/sorting-for-humans-natural-sort-order/
>
> and I got it from Martin Pool:
> https://github.com/sourcefrog/natsort
>
>
> On Tue, Apr 10, 2018 at 1:13 AM, Tim Penhey <email address hidden>
> wrote:
>
>> I *think* this is just changing an alphabetical sort into a numeric
>> lexical sort, and we have that function somewhere.
>>
>> ** Changed in: juju
>> Status: New => Triaged
>>
>> ** Changed in: juju
>> Importance: Undecided => Medium
>>
>> ** Tags added: bitesize bundles deploy
>>
>> --
>> You received this bug notification because you are subscribed to juju.
>> Matching subscriptions: juju bugs
>> https://bugs.launchpad.net/bugs/1762309
>>
>> Title:
>> Juju should add new machine after version sorting bundle machines
>>
>> To manage notifications about this bug go to:
>> https://bugs.launchpad.net/juju/+bug/1762309/+subscriptions
>>
>
Yet another thing to move out of utils.
Does this make sense to have in a juju/collections package?
On 11/04/18 00:50, John A Meinel wrote: gsNaturally( ) /en.wikipedia. org/wiki/ Natural_ sort_order /blog.codinghor ror.com/ sorting- for-humans- natural- sort-order/ /github. com/sourcefrog/ natsort /bugs.launchpad .net/bugs/ 1762309 /bugs.launchpad .net/juju/ +bug/1762309/ +subscriptions
> utils.SortStrin
> (elsewhere it is called 'naturalsort')
> https:/
> which links to
> https:/
>
> and I got it from Martin Pool:
> https:/
>
>
> On Tue, Apr 10, 2018 at 1:13 AM, Tim Penhey <email address hidden>
> wrote:
>
>> I *think* this is just changing an alphabetical sort into a numeric
>> lexical sort, and we have that function somewhere.
>>
>> ** Changed in: juju
>> Status: New => Triaged
>>
>> ** Changed in: juju
>> Importance: Undecided => Medium
>>
>> ** Tags added: bitesize bundles deploy
>>
>> --
>> You received this bug notification because you are subscribed to juju.
>> Matching subscriptions: juju bugs
>> https:/
>>
>> Title:
>> Juju should add new machine after version sorting bundle machines
>>
>> To manage notifications about this bug go to:
>> https:/
>>
>