Answer by
gigo (1706)
The easiest thing will be to search the web with algorithm names like "quick sort java" or "insert sort java". In any case you will have a stepper function and a compare function. If you have a standard int list you can take "int[] param" as function parameter. Instead of int you can take any class type as well.