orders history: sort by block index desc + smart format for quantities