Added test to ensure records returned in results order