Draft: replaced DraftGeomUtils.sortEdges with better version from pkoning2 - fixes #1691