It is a demo of sorting which is coded by Java.