sorted attribute filtration
help polishing
checks for correct first row correctness