Fixed LibSort and minor related issues

Author simenon <albert@simenon.nl>
Author date 2014-06-27 20:44:55
Author local date 2014-06-27 22:44:55 +0200
Committer simenon <albert@simenon.nl>
Committer date 2014-06-27 20:44:55
Committer local date 2014-06-27 22:44:55 +0200
Commit 8897c4e696df88449c8643102b0a24dc476ac853
Tree a99c846fd62c34aebd37aa75feb59e4393190c68
Parent b46b574bec02a1a37120788c69968f368f3087fa
Fixed LibSort and minor related issues