Fixes issue U4-2757 where generic properties are not ordered correctly.

All normal properties are ordered by the sort order defined in the DocType. The generic properties were not being ordered so always come out in the order that they were entered. This pull request fixes this so they now sort properly.

Fixes U4-2757: http://issues.umbraco.org/issue/U4-2757