Fix sorting criteria for checkout_stats tables, next-l/enju_leaf#449