Sort those transactions sensibly