Re:Laws of UX
by airstrike on Friday January 19, 2018 @07:23PM
(#16191184)
Do put leading zeros on numbers that are sorted as text.
[ Parent
| on HN ]
Re:Laws of UX
by benjaminjackman on Saturday January 20, 2018 @08:11AM
(#16193209)
9. Removing features from your product may result in users not being able to achieve some goals
Ie removing the leading zero breaks some sorting (Eg .mp3 files on an album where you know the number of tracks and hence how many leading 0s you need)
My remark was a jab at the fact that the list on the original website had leading zeros for no reason. I am not talking about naming files but about displaying information to humans.
In the case of music, leading zeros on files are useful for sorting. But the music player should not use file names for sorting but track numbers, and display them without leading zeros in the interface.
This is a problem of the sorting algorithm
Re:Laws of UX
by freehunter on Saturday January 20, 2018 @12:10PM
(#16194114)
Far too many sorting algorithms would have 10 come after 1 but before 2. Those programmers need to be flogged until they see the error of their way.