sorting added to getFiles() method

This thing helps us to predict an order of items which bundle will contain