Preprint: Flatness, preorders and general metric spaces