tidy up MyHistFunctions, no need of set maximum and added awsome functions for statbox and canvas sorting