add sorting algorithm

Signed-off-by: Blazej Mirowski <blazej.mirowski@tieto.com>
add tables with line scheme

Signed-off-by: Blazej Mirowski <blazej.mirowski@tieto.com>
add TODOs

Signed-off-by: Blazej Mirowski <blazej.mirowski@tieto.com>