Self-assembled and self-sorted array of chemically active beads for analytical and biochemical screening.