Output fields can now be ordered according to the fields parameter