find_all with conditions
started with sorting