Update SharedTorrent.java

modified to get the pieces in ascending order.