Staring to implement sort function

Product still needs to be sorted by name not by id
Most sort functions implemented

Foreign keys are still sorted by id instead of name. Needs to be fixed
Merge pull request #1 from Thorgar/Feature-Testing-Branche

Feature testing branche