in reply to hash sort

This node falls below the community's minimum standard of quality and will not be displayed.

Replies are listed 'Best First'.
Re^2: hash sort
by Laurent_R (Canon) on May 31, 2017 at 17:18 UTC
    The <=> operator is provided for convenience, to handle the simplest case of comparing two strings.
    That's a mistake. The <=> is provided to handle numeric sort. The cmp operator is used for sorting strings (lexicographical sort).

      Whups ... well spotted!!   Thank you!

Re^2: hash sort
by karlgoethebier (Abbot) on May 31, 2017 at 19:22 UTC

    Caveat lector

    «The Crux of the Biscuit is the Apostrophe»

    Furthermore I consider that Donald Trump must be impeached as soon as possible