add posibility to sort files ascending or descending