-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ordering by value not accurate enough #39
Comments
That comes in from the Sheetsee.js dependency; https://github.com/jlord/sheetsee-tables/blob/master/index.js#L20 looks to be your point of interest. It's doing a ASCIIbetical sort. |
Hi, I tried twice the example https://github.com/jlord/sheetsee-tables/blob/master/index.js#L20, but I see no reaction at all. The code, coming from there feature only ShowInfo function, which is the same in your project. 1506 line: var sortable = [] 7905 line: 16138 line: module.exports.sortThings = sortThings Any advice cordially appreciated! Thank you |
@Krukarius hack-spots isn't my project; I just used to use it for a site (i've since rewritten it to not use sheetsee.js since I didn't need most of its functionality). The sheetsee.js in this repository is a compiled, minified version of the one that I linked to above. If you want to modify it, you should fork sheetsee-tables, make your changes, compile+minify a version that has the sorting you want, then add it to your fork of hack-spots. |
OK, thanks. So in this event maybe someone else can advise? |
I have some values such a:
43
12
5
11
16
18
51
when sorted by table, I got:
11
12
16
18
18
43
5
51
Could you tell me where can I fix the code and make these values in right order?
The text was updated successfully, but these errors were encountered: