implemented sorted arraylist
JList added for showing the sorted shape list