I attempted to reproduce this but was not able to.
What method are you using to get the entry to move above the current file download?
In most cases the top item will always be the one being transferred, but there are some rare exceptions such as items marked as failed, which could in theory come before the current item being transferred. (if move to bottom of queue before retrying is off)
With a failed item in the list before the current item being transferred it would then be possible to move an item into the top position.
The key factor is not so much that the current transfer must be the top entry in the queue, but that the current index of the item being transferred doesn't change. There are situations where the index might change and we do take this into consideration so this shouldn't be a critical issue, but there is a performance penalty of an map_item_to_index function call to get the new position.
|