Implemented "snaks-order" parameter in reference serializer

Change-Id: I026db5a4336d756ca051522a6f3ada59a711e37f
Merge "Implemented "snaks-order" parameter in reference serializer"