result values have the same order as result columNames

The result values had a different order than the result columNames.
With this fix one will be able to match columnNames and result values because they have the same order now.