Handle date ordering in MySQL Test.