184
2
Aug 14 '20
Storing in plain text + copy pasted code from something else that was sorted alphabetically.
1
52
24
u/dee_jay_mon Aug 14 '20
The right way to sort them by the name length: May, July, June, April, March, August, January, October, December, February, November, September.
47
u/laesseV Aug 14 '20
Maybe people who store them as plain text.
26
21
14
u/RualStorge Aug 14 '20
I mean... At least it's in some sort of order, even if not the most logical one... Not the fury inducing lists where it looks like it's A-Z but then you notice starts over several times through the list....
(Classic you took data from several places, sorted them independently, THEN put them together) :/
8
u/baselganglia Nov 06 '20
Whats worse is iOS making you scroll through years to enter your freaking DOB.
Making something that takes 6 taps on a keyboard take a long time, and making you feel sorry for how old you are.
6
6
u/AdmiralTurtleLimbo Aug 14 '20
My client would argue that it's more user friendly that way and then just not listen to reason, we'd get complaints from users, and the client would ignore it
3
3
3
4
2
2
2
u/darthbob88 Aug 14 '20
I actually had to deal with that in a report I created; I passed in a datasource with like ["June": {....}, "July": {...}, "August": {...}] and it dutifully rendered a chart showing each month, ordered alphabetically.
2
2
2
2
u/SeriousDabbler Dec 08 '20
This is why I rename the months in all of the software I implement. You have to do it with the weekdays and days of the month too
2
2
2
2
u/Aggressive-Travel-40 May 18 '22
TBH, the only place I can see any use for this would be in a spreadsheet doing a lookup.
2
u/AegorBlake Oct 19 '22
The person who doesn't use the time function to load the array to output that.
2
2
1
Jun 20 '22
My boss absolutely despises YYYY-MM-DD, so sometimes this happens and it’s infuriating every time.
1
1
1
1
u/Hagen_Daz Feb 06 '23
I heard they store the month as the array index and look up the proper month string from a global constant for the UI! Genius!
1
1
1
0
Aug 14 '20
[deleted]
330
u/cstheory Aug 14 '20
February, April, June, November, September, August, December, January, July, March, May, October?
303
u/elperroborrachotoo Aug 14 '20
No, you put the longest months first - it's statistically more likely any date is in one of those!
153
u/DrMaxwellEdison Aug 14 '20
If we're talking statistics, the list order should update based on which month most visitors pick. Like a voting system for birthdays.
74
11
u/StuckAtWork124 Aug 14 '20
Jokes aside.. that almost sounds like it would be better, for the year bit of the birthday
Almost
12
u/DrMaxwellEdison Aug 14 '20
It sure would steer certain crowds away from the site to find out they're nowhere near the median age of users. Made worse by those who just pick, like, 1901 as their birth year when really it's a 10-year-old being sneaky.
15
u/Magicrafter13 Aug 14 '20
Okay, I think there's a fine line between "10 year old being sneaky" and "there's literally no one alive born in that year who is using this website".
I had to verify my birth year with my college a week ago and the year drop down ranged from 1900 to 2019...
12
u/_Bad_Dev_ Aug 15 '20
The oldest person ever whose age has been independently verified is Jeanne Calment (1875–1997) of France, who lived to the age of 122 years, 164 days.
If she were born in 1889 she would have been pissed
3
u/Magicrafter13 Aug 15 '20
Do you really think they would have been using the internet though?
9
u/_Bad_Dev_ Aug 15 '20
Can we try not to use logic and reasonable assumptions please
→ More replies (0)1
u/KhananiStarsi Sep 27 '23
My favorite is always when the default birth year is the current year. o_O
5
3
u/daveloper80 Aug 14 '20
I have been asked to sort drop down lists like that! keep the 5 most frequently used options at the top, sort the rest alphabetically!
3
2
u/Cootshk Sep 19 '23
May June July April march august January October November December February September
29
12
u/escargotBleu Aug 14 '20
Oh, so it's not May June July March April August January October February November December September ?
4
u/wayne0004 Aug 14 '20
No: May, June, July, April, March, August, January, October, February, November, December, September.
2
1
u/XenophonSoulis Nov 05 '22
March goes before August. October is fine at the end. That's because of daylight saving.
17
u/currentlyatwork1234 Aug 14 '20
I think it's better to sort by bad events happening in each of the month of 2020.
2
u/andiconda Aug 15 '20
Hey we don't have any bad events yet for September through December. Put them in the back for now.
0
Aug 14 '20
[deleted]
11
u/currentlyatwork1234 Aug 14 '20
I like to call it bojosort
3
Aug 14 '20
I don't get it.
6
0
Aug 14 '20
[deleted]
3
u/hadidotj Aug 14 '20
And re-sorts every second
5
u/Magicrafter13 Aug 14 '20
Suddenly you see December at the top and realize the future is now grim...
1
2
u/andiconda Aug 15 '20
What about sorting by birthdays per month. Or weight it by dividing by days of the month to give February a chance.
2
132
u/Bajtix Aug 14 '20
In a government high school recruiting page you had a school chooser drop-down in which the names were sorted alphabetically. The only problem being that all of them had their numbers written before the name in the Roman system...