Implemented sorting
Prepeared method to create folders