Sort priority correctly
Chunk large uploads