Introduced items sorting
Program class code cleanup
Merge branch 'MED'