Add simple and probably horribly broken order resolver