hicklemr / rtgui

Automatically exported from code.google.com/p/rtgui
0 stars 1 forks source link

Sorting order #101

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Sorting order changes even if you selecting different column. Not lethal 
ofc, but still not how its supposed to be, I presume.
v0.2.7

Original issue reported on code.google.com by gaddres...@gmail.com on 16 Oct 2009 at 8:23

GoogleCodeExporter commented 8 years ago
Accidently I thought that disturbing you with this little thing is not good 
idea. So 
theres solution I suggest - http://www.everfall.com/paste/id.php?ewlctf7028z5. 
This 
also makes code more readable and modifiable.

Original comment by gaddres...@gmail.com on 16 Oct 2009 at 11:09

GoogleCodeExporter commented 8 years ago
Although I like the neater code, it doesn't appear to fix the problem.

For example: if I sort by 'Status' the torrents are listed in order of status, 
but 
the names are not alphabetical...

I can't find an easy way to fix this - I need a multi-dimensional 
sort-on-two-keys 
function....

Original comment by lemonbe...@gmail.com on 10 Nov 2009 at 8:28

GoogleCodeExporter commented 8 years ago
http://www.php.net/manual/en/function.sort.php#54903

Original comment by shez...@gmail.com on 10 Nov 2009 at 11:19

GoogleCodeExporter commented 8 years ago
I think this is what you are looking for lemonberry.

taken from functions.php:
http://pastebin.com/f101823b9

Original comment by shez...@gmail.com on 14 Nov 2009 at 11:57