Fix #8819 sorting

@PVince81 Took me a while cause I had a lot to learn, better have a good look :)
I find it a bit strange to have the small point of the triangle pointing upwards when the biggest files are on top, however you see both being used so I left them like they were.

Comments are welcome.

I use netbeans which works with tabs, however I did notices I sometimes had to delete parts which were suddenly filled with spaces. Also working with VIM, but this uses tabs as well. Don't know where it went wrong but I can see the problem now with VIM and will correct it and pay attention in future.