A method, apparatus and computer program product for presenting objects in
an arranged fashion is presented. A group of objects is identified and a
root of a tree structure for the group of objects is determined. An
arrangement for grouping into subgroups objects from the group of objects
is selected. A determination is made regarding whether at least a
predetermined number of objects exist for forming the subgroups and when
at least a predetermined number of objects exist then forming a next
level of the tree structure according to the arrangement and when less
than the predetermined number of objects exist then adding the objects as
leaf nodes to the tree structure. The tree structure is displayed to the
user.