added new method to handle ordering of files