fix some bugs add default ascent sort behavior and prepare to 
define custom button and sort and filter function.