Actually no, it's not related to drag&drop, it's related to saving a unique pinned page vs multiple ones. So if we create a page "Before A" which should be placed naturally before "Home" and we pin that page, without using drag&drop we reproduce the same bug.
This message was sent by Atlassian Jira (v9.3.0#930000-sha1:287aeb6)
If image attachments aren't displayed, see this article.