sort klauseln into buckets