Sort order, fixes #5