Implement class found on google to sort the ListView when clicking a column, thanks to Sven So.