removed sort which was causing failures