sort function added for realarr_list

nice sort function for realarr_list