GEV-sorting

Make a suggestion & let the community sound it out. Almost all the best activities in game came initially from a player suggestion!
Post Reply
User avatar
jcheung
CE Official Supporter
Posts: 323
Joined: Sun Aug 03, 2014 8:38 am

GEV-sorting

Post by jcheung »

dunno if this has ever been brought to your attention (little low on time to search) but when sorting for money, it likes to base it off of the first character in the price, rather than the full numerical value (ie, 10,000 would be higher on the list than 9)... if possible, could this be adjusted?
User avatar
sidewinder fang
Retired Staff
Posts: 134
Joined: Thu Jul 17, 2014 3:28 pm
Location: England's green and pleasant lands

Re: GEV-sorting

Post by sidewinder fang »

I think I heard about that, its got something to with the code not recognising 0's or something, afraid there's not really much we can do about it.
User avatar
aRJay
CE Official Supporter
Posts: 274
Joined: Sun Jul 20, 2014 6:14 pm
Location: Derby, UK, Terra, Sol, Orion–Cygnus Arm, Milky Way

Re: GEV-sorting

Post by aRJay »

I suspect it is because it is a character search, which I think is based on the ancient ASCII codes for the individual characters, so it is effectively treating the numbers as words.
Lvl 114: Settlement Diaspar (L6): Guild Intelliquest

"For scientific leadership, Scott; for swift and efficient travel, Amundsen; but when you are in a hopeless situation, when there seems to be no way out, get on your knees and pray for Shackleton."
User avatar
jcheung
CE Official Supporter
Posts: 323
Joined: Sun Aug 03, 2014 8:38 am

Re: GEV-sorting

Post by jcheung »

aRJay wrote:I suspect it is because it is a character search, which I think is based on the ancient ASCII codes for the individual characters, so it is effectively treating the numbers as words.
yea, i kinda guessed the simplified version of that (treating as words)
User avatar
Coops
Site Admin
Posts: 5449
Joined: Mon Jul 14, 2014 6:10 pm
Location: Basingstoke - UK
Contact:

Re: GEV-sorting

Post by Coops »

The scripts is a third party ajax data table system. Its pretty flexible but also slightly complicated to make changes to. I've not yet found a way to enable the script to do both numeric and alphanumeric sorts. It seems to be be one or the other. It's possible but I gave up after an hour of trying when I first spotted the issue and not returned to it yet....

Perhaps some Ajax Guru out there would like to contact me in private and help resolve that one. Please only if you are as I say an Ajax Guru :) I've had plenty of 'I can have a look for you' attempts over the years with various elements of CE.

Coops
A Walk in the Woods helps me relax and release the tension from a hard day at the code.
The fact that I'm dragging a body behind me should be irrelevant!
User avatar
jcheung
CE Official Supporter
Posts: 323
Joined: Sun Aug 03, 2014 8:38 am

Re: GEV-sorting

Post by jcheung »

i see... ah well.
User avatar
von Wolfenbitten
Posts: 152
Joined: Tue Jul 22, 2014 8:53 pm

Re: GEV-sorting

Post by von Wolfenbitten »

sidewinder fang wrote:I think I heard about that, its got something to with the code not recognising 0's or something, afraid there's not really much we can do about it.
I've got an Ex like that...
Formula 1 - the Pinnacle of Lying, Cheating, Stealing, Political Backstabbing, and hypocritical whining on Wheels. [imho]
Lord Orion
Posts: 81
Joined: Wed Dec 16, 2015 3:07 pm

Re: GEV-sorting

Post by Lord Orion »

Bumped into that soting problem also.

Don't know if it helps, but here goes a link of a JS library that it is supposed to be able to sort columns of different types:

http://www.kryogenix.org/code/browser/sorttable/

Sorry if it completly misses the point, but I just started playing this game 4 days ago and I also am not an expert, but it is a library, so either it works or not LOL
Post Reply