Sort stuff.
PUT is supposed to be idempotent apparently.