Comparator parameter for selection sort
Apply function for pie layout
linkDistance and charge members for force layout