Sort replies correctly (chronologically). Fixes #14.