fixed links when no sortOrder is present
fixed links when no sortOrder is present