Sorted all properties according to functional order