Removed useless imports
Partially fixed issue #14: fix a bug when reverse sorting is set
Fix issue #13: Clicking SORT column header on changelist throws an error