Python Forum
Sorting numbers from smallest to biggest
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Sorting numbers from smallest to biggest
#3
suggest using natsort:
pypi entry: https://blog.miguelgrinberg.com/post/the...ello-world
github: https://github.com/SethMMorton/natsort
python install pip install natsort
you can also do it using regex: https://stackoverflow.com/a/5967539
Reply


Messages In This Thread
RE: Sorting numbers from smallest to biggest - by Larz60+ - Apr-14-2020, 09:24 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  smallest Cosine distance in Graph vino689 3 2,380 Jan-12-2020, 08:06 AM
Last Post: rmspacedashrf
  Tracking 2 biggest objects in OpenCV Nup 0 1,733 Nov-12-2019, 11:08 AM
Last Post: Nup
  I want to check for the smallest value entered by the user Shilpa 2 1,890 Aug-13-2019, 12:06 PM
Last Post: ThomasL
  Print Numbers starting at 1 vertically with separator for output numbers Pleiades 3 3,811 May-09-2019, 12:19 PM
Last Post: Pleiades
  Sorting a copied list is also sorting the original list ? SN_YAZER 3 3,162 Apr-11-2019, 05:10 PM
Last Post: SN_YAZER
  Sorting lists prioritizing letters before numbers Ratherfastmofo 5 3,316 Nov-21-2018, 06:44 PM
Last Post: woooee
  How do I calculate the smallest value that is recognized as a difference when compari AFoeee 1 2,831 Oct-28-2018, 10:48 PM
Last Post: Gribouillis

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020