removed sort to try resolve error