add new feature: sort the stats output

1. add a argument '-m' max_display_items to control how many items will
be displayed.
2. the positive number, '-m 10', means sorted in decrease sequence, the
nagitive number, '-m -10', means sorted in increse sequence.