Support inversed term for sub-total
Improve `TotalAccount::select` to cache start and end times
Improve `TotalAccount::select` with `Array#sort`
Merge branch 'enhancement/support-inversed-term'