Comment 2 for bug 1762309

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 1762309] Re: Juju should add new machine after version sorting bundle machines

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
>