sorted coords issue