complete functions
1. sortByArea
2. findShapeIndex