removed sort references