order things correctly