planify icon indicating copy to clipboard operation
planify copied to clipboard

Wrong ordering in sort alphabetically

Open Fenimoure opened this issue 1 year ago • 1 comments

Bug description

When ordering tasks alphabetically, the ordering is wrong (e.g. "task 10" comes before "task 5").

Bug reproduction steps

Steps to reproduce the behavior:

  1. Go to any of your projects
  2. Click on image button
  3. Click on 'Order by'
  4. Click on 'Alphabetically'

Expected behaviour

Real behaviour

The tasks are sorted like this:
  • - [ ] task 1
  • - [ ] task 2
  • - [ ] task 3
  • - [ ] task 4
  • - [ ] task 5
  • - [ ] task 6
  • - [ ] task 7
  • - [ ] task 8
  • - [ ] task 9
  • - [ ] task 10
    The tasks are sorted like this:
    • - [ ] task 10
    • - [ ] task 1
    • - [ ] task 2
    • - [ ] task 3
    • - [ ] task 4
    • - [ ] task 5
    • - [ ] task 6
    • - [ ] task 7
    • - [ ] task 8
    • - [ ] task 9

      Screenshot

      image

      Software information

      • OS: Fedora Linux 39 (Workstation Edition) x86_64
      • Kernel: 6.6.6-200.fc39.x86_64
      • DE: GNOME 45.2

      Fenimoure avatar Dec 17 '23 09:12 Fenimoure

      Apparently the sorting algorithm only supports letters, not numbers, I'm looking into how to solve it.

      alainm23 avatar Jan 16 '24 15:01 alainm23