Return results of sync promises in the same order they were given

Fixes #101