fixed #94 reversal of file transfer order by using shift() to get first element rather than pop() which gets last element of array
also send groups of files offered in correct order by switching to shift()
Merge pull request #102 from ilovett/fix-file-transfer-order

Fix file transfer order