add getBuy data functin
add get buy data function
add custome array sort functin