add bubble sort func implement

Signed-off-by: Mingming Zhang <fishtown.mm@gmail.com>