aboutsummaryrefslogtreecommitdiffstats
path: root/plugin
diff options
context:
space:
mode:
authorTeddy Wing2015-10-08 05:03:12 -0400
committerTeddy Wing2015-10-08 05:03:12 -0400
commit9a50e8f4abe9f50b7640b55afb606db6d3d4b0a8 (patch)
tree12266e8001ea7cc9ceea475bd70c27a09e1bb46c /plugin
parenta9d0c154661dd7c07c00bf74bfbf79858a8a042d (diff)
downloadvim-space-vlaze-9a50e8f4abe9f50b7640b55afb606db6d3d4b0a8.tar.bz2
leaderboard#Sort: Convert inputs to numbers before comparing
Otherwise the inputs get compared as strings and only the leftmost digit of the number gets sorted so you end up with things like this: [8, 43, 2, 13, 0] Convert our inputs to numbers so that they get compared in their entirety and larger numbers move to the head of the list.
Diffstat (limited to 'plugin')
0 files changed, 0 insertions, 0 deletions