But can anybody please let me know why there is a sorting Facility provided for ArrayCollection ??
Where this could be useful ?? because as far as my knowledge ArrayCollection would be used as a dataprovider for a DataGrid and datagrid has already got Facility for sorting depending upon the column header clcik .
So why or where sort Mecahnism is used in ArrayCollection ??
An ArrayCollection is just a data structure, its unrelated to the view component you choose to display its contents with. Nothing to do with Flex, this is just one of the basics of good programming practice.