get correct order of requested database fields