sorting files

Is it possible to sort files by their extension inside the software, without taking into account that they may come from different folders?